diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-24 16:55:13 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-24 16:55:13 +1200 |
commit | 3220403ff11e8d39ff5b0e8831de1d15969f51c2 (patch) | |
tree | e4244ea9be4ce4c47e1e91bda0a41e0584f68ad1 /bin | |
parent | Change dam(1df) to a sed script (diff) | |
download | dotfiles-3220403ff11e8d39ff5b0e8831de1d15969f51c2.tar.gz dotfiles-3220403ff11e8d39ff5b0e8831de1d15969f51c2.zip |
Exit 2 with usage errors from gwp(1df)
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gwp.awk | 2 |
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 |