diff options
author | 2002-07-31 22:08:41 +0000 | |
---|---|---|
committer | 2002-07-31 22:08:41 +0000 | |
commit | 120f1d91abb9c36ba57f61dc8e8cc2f0df015292 (patch) | |
tree | c0bf979e07b69930920e2421dc6f743aa5d1e84b /lib/libc | |
parent | mark pw_error() __dead since it exits (diff) | |
download | wireguard-openbsd-120f1d91abb9c36ba57f61dc8e8cc2f0df015292.tar.xz wireguard-openbsd-120f1d91abb9c36ba57f61dc8e8cc2f0df015292.zip |
When I got removed the use of atexit() I missed the fact that edit()
calls pw_error() which in turn calls exit(). Now edit() returns
its status so the temp file gets cleaned up nicely if the user makes
no changes or if an error occurred. Problem noticed by deraadt@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions