commit | 0e05569e308f927cd84882f7463739681bf1a33b | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Tue Mar 29 03:59:20 2016 -0500 |
committer | Rob Landley <rob@landley.net> | Tue Mar 29 03:59:20 2016 -0500 |
tree | 306bb0f70500028948256fe92d0e1db5f0968f36 | |
parent | e223cca4f66bf2e201b21869304dc63befbbf9be [diff] |
Fix exit code of things like sed -i that use tempfile_handler(). (The sigatexit() handler list code now calls the handlers on the normal exit path, so _exit(1) from the handler is wrong; exit_signal() modifies toys.exitval if necessary.)