Added this comment to check rebooting lol
[hdmi-switcher.git] / update.sh
index 3e03413..9d2b46a 100755 (executable)
--- 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"