aboutsummaryrefslogtreecommitdiff
path: root/bin/xgo.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-15 13:59:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-15 13:59:47 +1200
commit94341e6d65c4ef4c7645f95ad40ee42f835c6069 (patch)
treeb450debfbbe5cdc9632566f4c19818e2ec425e88 /bin/xgo.sh
parentAdd missing `exit` call to igex(1df) (diff)
downloaddotfiles-94341e6d65c4ef4c7645f95ad40ee42f835c6069.tar.gz
dotfiles-94341e6d65c4ef4c7645f95ad40ee42f835c6069.zip
Clean up some exit statuses
Diffstat (limited to 'bin/xgo.sh')
-rw-r--r--bin/xgo.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/xgo.sh b/bin/xgo.sh
index 4d7cf922..3fb11fde 100644
--- a/bin/xgo.sh
+++ b/bin/xgo.sh
@@ -3,6 +3,7 @@
# Check arguments
if [ "$#" -eq 0 ] ; then
printf >&2 'xgo: At least one URL required\n'
+ exit 2
fi
# Iterate over the URL arguments