diff --git a/convertfromos.sh b/convertfromos.sh index 689c171..9e64940 100644 --- a/convertfromos.sh +++ b/convertfromos.sh @@ -1,5 +1,8 @@ #!/bin/bash +# If any command fails, fail out +set -e + # This script will do the following to install RustDesk Server Pro replacing RustDesk Server Open Source # 1. Disable and removes the old services # 2. Install some dependencies diff --git a/install.sh b/install.sh index 3db1e5c..97da53e 100644 --- a/install.sh +++ b/install.sh @@ -1,5 +1,8 @@ #!/bin/bash +# If any command fails, fail out +set -e + # This script will do the following to install RustDesk Server Pro # 1. Install some dependencies # 2. Setup UFW firewall if available diff --git a/update.sh b/update.sh index 92859e0..1e1b4db 100644 --- a/update.sh +++ b/update.sh @@ -1,5 +1,8 @@ #!/bin/bash +# If any command fails, fail out +set -e + # Get username uname=$(whoami) # not used btw ... yet