aboutsummaryrefslogtreecommitdiff
path: root/bin/paz
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/paz
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/paz')
-rwxr-xr-xbin/paz2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/paz b/bin/paz
index 679c55f8..2cc31c6e 100755
--- a/bin/paz
+++ b/bin/paz
@@ -1,4 +1,4 @@
#!/bin/sh
# Print arguments, terminated by null chars. Compare pa(1).
-[ "$#" -gt 0 ] || return 0
+[ "$#" -gt 0 ] || exit 0
printf '%s\0' "$@"