[SCM] debian-live/live-helper branch, master, updated. 1.0_a35-1-12-g5fec5b2
Daniel Baumann
daniel at debian.org
Sun Nov 11 14:45:10 UTC 2007
The branch, master has been updated
via 5fec5b20a4871caf67f77d9f571f70c4cc2a22f8 (commit)
from 02c57db1966d07c34cc89501abc644cf11a52963 (commit)
- Shortlog ------------------------------------------------------------
5fec5b2 Improving trap call to unmount pseudo filesystem when failing as suggested by Justin Pryzby <jpryzby at quoininc.com>.
Summary of changes:
functions/lockfile.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 5fec5b20a4871caf67f77d9f571f70c4cc2a22f8
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Nov 11 15:44:24 2007 +0100
Improving trap call to unmount pseudo filesystem when failing as suggested by Justin Pryzby <jpryzby at quoininc.com>.
diff --git a/functions/lockfile.sh b/functions/lockfile.sh
index 189d0c2..aa30222 100755
--- a/functions/lockfile.sh
+++ b/functions/lockfile.sh
@@ -30,7 +30,7 @@ Create_lockfile ()
mkdir -p "${DIRECTORY}"
# Creating lock trap
- trap 'ret=${?}; '"rm -f \"${FILE}\";"' exit ${ret}' EXIT
+ trap 'ret=${?}; '"rm -f \"${FILE}\"; for FILESYSTEM in devpts proc sys; do lh_chroot_${FILESYSTEM} remove || continue; done"' exit ${ret}' EXIT
# Creating lock file
touch "${FILE}"
--
debian-live/live-helper
More information about the debian-live-changes
mailing list