aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/runscript.sh.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index fe30a039..58532125 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -49,8 +49,7 @@ sourcex "@SYSCONFDIR@/init.d/functions.sh"
sourcex "@LIBEXECDIR@/sh/rc-functions.sh"
# Support LiveCD foo
-if [ -r /sbin/livecd-functions.sh ]; then
- sourcex "/sbin/livecd-functions.sh"
+if sourcex -e "/sbin/livecd-functions.sh"; then
livecd_read_commandline
fi