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>2010-04-17 20:23:27 +0200
commit7b43a640ed0dd321151be9deaba28cfed9047a62 (patch)
tree680127cfc49630d07b82cc361aa34adb1fbd3a63 /helpers
parent19d6a4d2f3166a9c1ce3ec01e15d34c4519b38d0 (diff)
downloadvyos-live-build-7b43a640ed0dd321151be9deaba28cfed9047a62.tar.gz
vyos-live-build-7b43a640ed0dd321151be9deaba28cfed9047a62.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