projects
/
hdmi-switcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added this comment to check rebooting lol
[hdmi-switcher.git]
/
update.sh
diff --git
a/update.sh
b/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"