summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_sysv-rc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_sysv-rc')
-rwxr-xr-xscripts/build/lb_chroot_sysv-rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_sysv-rc b/scripts/build/lb_chroot_sysv-rc
index 572f4eb3b..4e1fc160e 100755
--- a/scripts/build/lb_chroot_sysv-rc
+++ b/scripts/build/lb_chroot_sysv-rc
@@ -11,7 +11,7 @@
set -e
# Including common functions
-. "${LIVE_BUILD}/scripts/build.sh" > /dev/null 2>&1 || . /usr/lib/live/build.sh
+[ -e "${LIVE_BUILD}/scripts/build.sh" ] && . "${LIVE_BUILD}/scripts/build.sh" || . /usr/lib/live/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'manage /usr/sbin/policy-rc.d')"