--- patch-o-matic-ng/Netfilter_POM.pm 2004-05-05 12:24:04.000000000 +0200 +++ patch-o-matic-ng.new/Netfilter_POM.pm 2004-05-05 18:49:26.000000000 +0200 @@ -682,7 +683,10 @@ return 0; } } - File::Copy::copy($srcfile, $destfile); + if (!File::Copy::copy($srcfile, $destfile)) { + $self->{ERRMSG} .= "unable to copy $srcfile to $destfile: $!\n"; + return 0; + } # .foo-test is executable chmod((stat($srcfile))[2] & 07777, $destfile); } else {