aboutsummaryrefslogtreecommitdiff
path: root/bin/pa
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-31 00:51:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-31 00:51:32 +1200
commitaaf282eb75ecad7dd93937f1fc470365743499c4 (patch)
tree0b3b943d5e5f46a543dc536e0355ae2cc840c8ad /bin/pa
parentSimplify plmu(1) and make it POSIX sh (diff)
downloaddotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.tar.gz
dotfiles-aaf282eb75ecad7dd93937f1fc470365743499c4.zip
Correct "return" to "exit" in shell scripts
Diffstat (limited to 'bin/pa')
-rwxr-xr-xbin/pa2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pa b/bin/pa
index 35966464..35aa6773 100755
--- a/bin/pa
+++ b/bin/pa
@@ -1,4 +1,4 @@
#!/bin/sh
# Print arguments, one per line. Compare paz(1).
-[ "$#" -gt 0 ] || return 0
+[ "$#" -gt 0 ] || exit 0
printf '%s\n' "$@"