diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-11 21:33:43 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:29 +0100 |
commit | 2a9079644708eedd190b82675a76372f9c8abd7e (patch) | |
tree | d222e17f8924c7660e9d598e9ea52fe88e409765 /functions | |
parent | 7059380cd8e60e81c1c4c462471a291035c56ec2 (diff) | |
download | live-build-2a9079644708eedd190b82675a76372f9c8abd7e.zip live-build-2a9079644708eedd190b82675a76372f9c8abd7e.tar.gz |
Making umount calls check if they are actually necessary.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/lockfile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/lockfile.sh b/functions/lockfile.sh index 81fe559..8af6757 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}\"; "'for FILESYSTEM in devpts proc sysfs; do lh_chroot_${FILESYSTEM} remove || continue; done; exit ${ret}' EXIT + trap 'ret=${?}; '"rm -f \"${FILE}\"; "'for FILESYSTEM in devpts proc sysfs; do lh_chroot_${FILESYSTEM} remove; done; exit ${ret}' EXIT # Creating lock file touch "${FILE}" |