Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/locate/locate Trap also SIGHUP and SIGQUIT. Suggeste...
details: https://anonhg.NetBSD.org/src/rev/bdd6cd88213e
branches: trunk
changeset: 509850:bdd6cd88213e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon May 14 14:58:59 2001 +0000
description:
Trap also SIGHUP and SIGQUIT. Suggested by Jim Bernard & Christos
some time ago.
diffstat:
usr.bin/locate/locate/updatedb.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 2ea2b62a55fd -r bdd6cd88213e usr.bin/locate/locate/updatedb.sh
--- a/usr.bin/locate/locate/updatedb.sh Mon May 14 14:55:29 2001 +0000
+++ b/usr.bin/locate/locate/updatedb.sh Mon May 14 14:58:59 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: updatedb.sh,v 1.3 2001/03/12 13:29:26 jdolecek Exp $
+# $NetBSD: updatedb.sh,v 1.4 2001/05/14 14:58:59 jdolecek Exp $
#
# Copyright (c) 1989, 1993
# The Regents of the University of California. All rights reserved.
@@ -48,7 +48,7 @@
PATH="/bin:/usr/bin"
FILELIST="$TMPDIR/locate.list.$$"
trap 'rm -f $FILELIST' 0
-trap 'rm -f $FILELIST; exit 1' 2 15
+trap 'rm -f $FILELIST; exit 1' 1 2 3 15
# Make a file list and compute common bigrams.
# Entries of each directory shall be sorted (find -s).
Home |
Main Index |
Thread Index |
Old Index