summaryrefslogtreecommitdiff
path: root/usr.bin/lorder/lorder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lorder/lorder.sh')
-rw-r--r--usr.bin/lorder/lorder.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lorder/lorder.sh b/usr.bin/lorder/lorder.sh
index 0e081e58498..7a979eba2b9 100644
--- a/usr.bin/lorder/lorder.sh
+++ b/usr.bin/lorder/lorder.sh
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: lorder.sh,v 1.7 1997/01/25 21:16:44 deraadt Exp $
+# $OpenBSD: lorder.sh,v 1.8 1998/09/02 06:40:08 deraadt Exp $
# $NetBSD: lorder.sh,v 1.3 1995/04/24 07:38:52 cgd Exp $
#
# Copyright (c) 1990, 1993
@@ -60,7 +60,7 @@ fi
umask $um
# remove temporary files on HUP, INT, QUIT, PIPE, TERM
-trap "rm -rf $TDIR; exit 1" 1 2 3 13 15
+trap "rm -rf $TDIR; trap 2 ; kill -2 $$" 1 2 3 13 15
# if the line ends in a colon, assume it's the first occurrence of a new
# object file. Echo it twice, just to make sure it gets into the output.