Added this comment to check rebooting lol
authorCameron Ball <c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:11:03 +0000 (02:11 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:11:03 +0000 (02:11 +0800)
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"