diff options
-rw-r--r-- | defaults/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc index ff08ba28..15fbf7cc 100644 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -1376,7 +1376,7 @@ do if ! mountpoint "${CHROOT}" 1>/dev/null 2>&1 then bad_msg "${CHROOT} is not a mountpoint; Was root device (${REAL_ROOT}) not mounted?" - elif ! chroot "${CHROOT}" test -x /${init#/} 1>/dev/null 2>&1 + elif ! chroot "${CHROOT}" /usr/bin/test -x /${init#/} 1>/dev/null 2>&1 then mounted_root_device=$(mountpoint -n /newroot 2>/dev/null | awk '{ print $1 }') bad_msg "init (${init}) not found in mounted root device (${mounted_root_device})!" |