From 846dc5647d93cd0052f4a26db21ec1fd45e5711e Mon Sep 17 00:00:00 2001 From: freesource Date: Wed, 25 Jul 2001 04:57:24 +0000 Subject: [PATCH] Improved an error output for missing bins. --- gBootRoot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gBootRoot b/gBootRoot index 1278887..3773709 100644 --- a/gBootRoot +++ b/gBootRoot @@ -2049,6 +2049,9 @@ sub initrd { foreach (@initrd_stuff) { ($path,$value) = stripper(find_file_in_path($_),"bin"); $value == 0 ? ($tool = "cp -a") : ($tool = "mv"); + if (!$path) { + info(1,"gBootRoot Error: Couldn't find $_\n"); + } return if errcp(sys("$tool $path $tmp/initrd_mnt/bin")) == 2; }