diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-20 12:12:44 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-20 12:12:44 +0200 |
commit | e8e3d60b8c258bd7604457ad0db0c2017f50af3e (patch) | |
tree | e0efac7f7945ebf8d9374bb1ed665e7ddde3519a /gspell | |
parent | 1c54eb7ef57f94ec56d86e1747248010369304d8 (diff) | |
download | xutil-e8e3d60b8c258bd7604457ad0db0c2017f50af3e.tar.gz |
gspell: Exit with correct status
Diffstat (limited to 'gspell')
-rwxr-xr-x | gspell | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,5 +12,7 @@ fi spell "$@" > $f fgrep -Hnof $f "$@" | awk -F: 'NF > 2 { print $0; prefix = $1 ":" $2 ":"; next } { print prefix $0 }' +s=$? rm $f rm $g 2>/dev/null +exit $s |