From d18ede9a8b66193e0a648b99b2bad01e40de4c15 Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 11 Aug 2001 05:41:48 +0000 Subject: [PATCH] Commented out return behavior when there were problems copying over files, this may have been an abberation, but it isn't necessary to stop the whole process. --- BootRoot/Yard.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BootRoot/Yard.pm b/BootRoot/Yard.pm index 0e89071..23d10d7 100644 --- a/BootRoot/Yard.pm +++ b/BootRoot/Yard.pm @@ -1045,10 +1045,10 @@ sub copy_strip_file { my $from_base = basename($from); chown($uid, $gid, $to) or ($error = error("chown: $! \($from_base\)\n")); - return "ERROR"if $error && $error eq "ERROR"; + ##return "ERROR"if $error && $error eq "ERROR"; chmod($mode, $to) or ($error = error("chmod: $! \($from_base\)\n")); - return "ERROR"if $error && $error eq "ERROR"; + ##return "ERROR"if $error && $error eq "ERROR"; } elsif ($strip_module) { info(1, "Copy/stripping module $from to $to\n"); @@ -1060,7 +1060,7 @@ sub copy_strip_file { my $from_base = basename($from); chown($uid, $gid, $to) or ($error = error("chown: $! \($from_base\)\n")); - return "ERROR"if $error && $error eq "ERROR"; + ##return "ERROR"if $error && $error eq "ERROR"; chmod($mode, $to) or ($error = error("chmod: $! \($from_base\)\n")); return "ERROR"if $error && $error eq "ERROR"; @@ -1075,7 +1075,7 @@ sub copy_strip_file { my $from_base = basename($from); chown($uid, $gid, $to) or ($error = error("chown: $! \($from_base\)\n")); - return "ERROR"if $error && $error eq "ERROR"; + ##return "ERROR"if $error && $error eq "ERROR"; chmod($mode, $to) or ($error = error("chmod: $! \($from_base\)\n")); return "ERROR"if $error && $error eq "ERROR";