aboutsummaryrefslogtreecommitdiff
path: root/bin/gwp.awk
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:55:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-24 16:55:13 +1200
commit3220403ff11e8d39ff5b0e8831de1d15969f51c2 (patch)
treee4244ea9be4ce4c47e1e91bda0a41e0584f68ad1 /bin/gwp.awk
parentChange dam(1df) to a sed script (diff)
downloaddotfiles-3220403ff11e8d39ff5b0e8831de1d15969f51c2.tar.gz
dotfiles-3220403ff11e8d39ff5b0e8831de1d15969f51c2.zip
Exit 2 with usage errors from gwp(1df)
Diffstat (limited to 'bin/gwp.awk')
-rw-r--r--bin/gwp.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gwp.awk b/bin/gwp.awk
index 976b5b84..f1e3b3bd 100644
--- a/bin/gwp.awk
+++ b/bin/gwp.awk
@@ -24,7 +24,7 @@ BEGIN {
# Bailout function
function fail(str) {
printf "%s: %s\n", self, str | "cat >&2"
- exit(1)
+ exit(2)
}
# If there's more than one filename, precede the print of the current line with