From 74c3318cbfb6b62a105c0cffd0919e82da20b963 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 14 Dec 2001 08:16:46 +0000 Subject: [PATCH] Why it is nice to test on uml, if genext2fs isn't in path and filesystem type is changed, path can't be found .. now it makes an exception when executable is genext2fs. --- BootRoot/YardBox.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/BootRoot/YardBox.pm b/BootRoot/YardBox.pm index ad9d8fe..a39a292 100644 --- a/BootRoot/YardBox.pm +++ b/BootRoot/YardBox.pm @@ -309,8 +309,11 @@ sub file_system { # Check to see if it actually exists my $executable = (split(/\s+/,$entry[2]))[0]; if (!find_file_in_path(basename($executable))) { - error_window("gBootRoot: ERROR: Enter a valid command"); - return; + if ( $executable ne "genext2fs" ) { + error_window + ("gBootRoot: ERROR: Enter a valid command"); + return; + } } if ($executable =~ m,/,) { if (! -e $executable) {