aboutsummaryrefslogtreecommitdiff
path: root/bin/fnl.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/fnl.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/fnl.sh')
-rw-r--r--bin/fnl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fnl.sh b/bin/fnl.sh
index 8d771adb..86e582f1 100644
--- a/bin/fnl.sh
+++ b/bin/fnl.sh
@@ -3,7 +3,7 @@
# Check we have at least one argument
if [ "$#" -eq 0 ] ; then
printf >&2 'fnl: Command needed\n'
- return 2
+ exit 2
fi
# Create a temporary directory; note that we *don't* clean it up on exit