diff options
-rw-r--r-- | sys-apps/yaboot/files/yabootconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/yaboot/files/yabootconfig b/sys-apps/yaboot/files/yabootconfig index ee9e13e61bb8..5efc4a5cf5da 100644 --- a/sys-apps/yaboot/files/yabootconfig +++ b/sys-apps/yaboot/files/yabootconfig @@ -268,11 +268,11 @@ dualboot() for h in $HFS do if [ !-x `hpmount -r $h` > /dev/null 2>&1 ] ; then - if [ !-x `command hpls mach_kernel 2>/dev/null` > /dev/null 2>&1 ] ; then + if [ `hpls mach_kernel 2>/dev/null` ] ; then [ "$QUIET" = 0 ] && echo "Found possible OS X partition at $h" OSX=$h fi - if [ !-x `command hpls "System Folder" 2>/dev/null` > /dev/null 2>&1 ] ; then + if [ "`hpls "System Folder" 2>/dev/null`" ] ; then [ "$QUIET" = 0 ] && echo "Found possible Mac OS partition at $h" MACOS=$h fi |