From 278c604447b87767cffae493d4aaf53760830e83 Mon Sep 17 00:00:00 2001 From: Cameron Ball Date: Wed, 15 Apr 2015 02:11:03 +0800 Subject: [PATCH] Added this comment to check rebooting lol --- update.sh | 1 + 1 file changed, 1 insertion(+) 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" -- 2.11.0