summaryrefslogtreecommitdiff
path: root/helpers/chroot_dpkg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-04-17 20:23:27 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:06 +0100
commitae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd (patch)
tree680127cfc49630d07b82cc361aa34adb1fbd3a63 /helpers/chroot_dpkg
parent2620b5947b5cf95e12334de0cb0a408863ca2de6 (diff)
downloadlive-build-ae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd.zip
live-build-ae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd.tar.gz
Don't fail on samhain workaround when we're cleaning up.
Diffstat (limited to 'helpers/chroot_dpkg')
-rwxr-xr-xhelpers/chroot_dpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/chroot_dpkg b/helpers/chroot_dpkg
index 1f1d57a..98ca282 100755
--- a/helpers/chroot_dpkg
+++ b/helpers/chroot_dpkg
@@ -85,7 +85,7 @@ EOF
elif [ -d /var/state/samhain ]
then
rm -f /var/state/samhain/samhain_file
- rmdir --ignore-fail-on-non-empty /var/state/samhain
+ rmdir --ignore-fail-on-non-empty /var/state/samhain || true
fi
# Restore start-stop-daemon program