diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2015-03-24 20:32:42 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2015-03-24 20:32:42 -0400 |
commit | 90e1d42a99178608ec22216f7f35dadcad5a8b3a (patch) | |
tree | aaf1e18dfbdd1b73c03010798b55fa529e539409 /test/exitval3.awk | |
parent | 981e106b111672aac520fbb397ee82c64f3c4f2a (diff) | |
download | egawk-90e1d42a99178608ec22216f7f35dadcad5a8b3a.tar.gz egawk-90e1d42a99178608ec22216f7f35dadcad5a8b3a.tar.bz2 egawk-90e1d42a99178608ec22216f7f35dadcad5a8b3a.zip |
Fix bug where exit with no argument was setting the exit status to zero.
Diffstat (limited to 'test/exitval3.awk')
-rw-r--r-- | test/exitval3.awk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/exitval3.awk b/test/exitval3.awk new file mode 100644 index 00000000..33e8c433 --- /dev/null +++ b/test/exitval3.awk @@ -0,0 +1,2 @@ +BEGIN { exit 42 } +END { exit } |