summaryrefslogtreecommitdiff
path: root/examples/cron/manpages.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-12 16:20:35 +0200
committerDaniel Baumann <daniel@debian.org>2008-08-14 05:44:21 +0200
commit6a4a424d09a622f49fd1d9434195c209889b3bad (patch)
tree7a2931e05db15eae2430719f01005618d17a2886 /examples/cron/manpages.sh
parentd22dde7e476aa259abc9e7cde535585b7318ae09 (diff)
downloadvyos-live-build-6a4a424d09a622f49fd1d9434195c209889b3bad.tar.gz
vyos-live-build-6a4a424d09a622f49fd1d9434195c209889b3bad.zip
Using signal names rather than signal numbers in trap calls.
Diffstat (limited to 'examples/cron/manpages.sh')
-rwxr-xr-xexamples/cron/manpages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cron/manpages.sh b/examples/cron/manpages.sh
index cd65dc4a6..da58d9410 100755
--- a/examples/cron/manpages.sh
+++ b/examples/cron/manpages.sh
@@ -24,7 +24,7 @@ then
fi
# Creating lock trap
-trap "test -f ${SERVER}/lock && rm -f ${SERVER}/lock; exit 0" 0 1 2 3 9 15
+trap "test -f ${SERVER}/lock && rm -f ${SERVER}/lock; exit 0" 0 HUP INT QUIT KILL TERM
# Creating lock file
echo "${DATE_START}" > "${SERVER}"/lock