summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_dpkg
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_dpkg')
-rwxr-xr-xhelpers/lh_chroot_dpkg5
1 files changed, 4 insertions, 1 deletions
diff --git a/helpers/lh_chroot_dpkg b/helpers/lh_chroot_dpkg
index 7fd6e67..bf2950a 100755
--- a/helpers/lh_chroot_dpkg
+++ b/helpers/lh_chroot_dpkg
@@ -66,7 +66,10 @@ EOF
Create_lockfile .lock
# Restore start-stop-daemon program
- mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ if [ -e chroot/sbin/start-stop-daemon.orig ]
+ then
+ mv chroot/sbin/start-stop-daemon.orig chroot/sbin/start-stop-daemon
+ fi
# Removing stage file
rm -f .stage/chroot_dpkg