summaryrefslogtreecommitdiff
path: root/stowcmds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stowcmds.sh')
-rw-r--r--stowcmds.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/stowcmds.sh b/stowcmds.sh
index 4874d48..8856f47 100644
--- a/stowcmds.sh
+++ b/stowcmds.sh
@@ -9,7 +9,7 @@ if [ -n "$MACH" ]
then
echo "I: stowing for $MACH"
else
- echo "E: MACH not set"
+ echo "E: MACH not set" 1>&2
exit 1
fi
@@ -36,5 +36,6 @@ case "$MACH" in
stow -d config/ -t "$HOME/" -R zshrc
;;
*)
+ echo "E: invalid value for 'MACH'" 1>&2
break
esac