summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-12-28 23:26:25 +0000
committerderaadt <deraadt@openbsd.org>1997-12-28 23:26:25 +0000
commitbe849d3a8402a1892122cc5a7d7a31bb6664d122 (patch)
tree7cd5d47fd5c8c1fd64ea38dbc0fabfd4161b8a5f
parentDon't expect select() to adjust the passed time when it's (diff)
downloadwireguard-openbsd-be849d3a8402a1892122cc5a7d7a31bb6664d122.tar.xz
wireguard-openbsd-be849d3a8402a1892122cc5a7d7a31bb6664d122.zip
be more careful during termination
-rw-r--r--etc/security4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/security b/etc/security
index 404c10d7cb2..71870074752 100644
--- a/etc/security
+++ b/etc/security
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: security,v 1.24 1997/11/17 08:35:42 deraadt Exp $
+# $OpenBSD: security,v 1.25 1997/12/28 23:26:25 deraadt Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -22,7 +22,7 @@ if ! mkdir $DIR ; then
exit 1
fi
-trap 'rm -rf $DIR' 0 1 15
+trap 'rm -rf $DIR; exit 1' 0 1 2 3 13 15
# Check the master password file syntax.
MP=/etc/master.passwd