summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-28 23:26:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-12-28 23:26:26 +0000
commit93935da12c8e673546f249f31f05ddf65963b74f (patch)
tree8db2cffb1abb9dc9575a7758c26366ca550b2fb3
parent9dfb52ea4b97ea1c25b3631a1675060f35885357 (diff)
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