aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-25 23:27:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-25 23:27:58 +1200
commitc2b848901c7496b1d4bb50349ad1084ab9f207f3 (patch)
tree2715dfcc93f0c6faa1937243ee9bc9ba97cd8ce5 /games
parentCombine welcome messages into one script (diff)
downloaddotfiles-c2b848901c7496b1d4bb50349ad1084ab9f207f3.tar.gz
dotfiles-c2b848901c7496b1d4bb50349ad1084ab9f207f3.zip
xyzzy(6) to print to stderr
Diffstat (limited to 'games')
-rwxr-xr-xgames/xyzzy2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/xyzzy b/games/xyzzy
index 691769b9..d262c0e6 100755
--- a/games/xyzzy
+++ b/games/xyzzy
@@ -1,6 +1,6 @@
#!/bin/sh
if [ -e "$HOME"/.xyzzy ] ; then
- printf '%s\n' 'Nothing happens.'
+ printf >&2 '%s\n' 'Nothing happens.'
exit 1
fi
printf '%s\n' 'I see no cave here.' > "$HOME"/.xyzzy