summaryrefslogtreecommitdiff
path: root/helpers
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
parent2620b5947b5cf95e12334de0cb0a408863ca2de6 (diff)
downloadvyos-live-build-ae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd.tar.gz
vyos-live-build-ae2b66c0f5ed26f47ad3f14cbf2be5a296c73ddd.zip
Don't fail on samhain workaround when we're cleaning up.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/chroot_dpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/chroot_dpkg b/helpers/chroot_dpkg
index 1f1d57ae6..98ca282a6 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