From: Cameron Ball Date: Tue, 14 Apr 2015 18:11:03 +0000 (+0800) Subject: Added this comment to check rebooting lol X-Git-Url: http://cameron1729.xyz/?p=hdmi-switcher.git;a=commitdiff_plain;h=278c604447b87767cffae493d4aaf53760830e83 Added this comment to check rebooting lol --- diff --git a/update.sh b/update.sh index 3e03413..9d2b46a 100755 --- a/update.sh +++ b/update.sh @@ -7,6 +7,7 @@ fi printf "Found USB... " umount /dev/sda1 > /dev/null 2>&1 +# The {} does NOT spawn a new subshell, so the exit kills this script. mount /dev/sda1 > /dev/null 2>&1 || { printf "Mount failure\n"; exit 1; } printf "\t\tMount OK\n"