Commit d79ef690 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix minor fix in fatal() when removing the copyfile.

parent fac9d14e
......@@ -173,7 +173,7 @@ exit($exit_status);
sub fatal {
local($msg) = $_[0];
if ($copymode && -e $copyfile) {
if ($copymode && defined($copyfile) && -e $copyfile) {
unlink($copyfile);
}
die("*** $0:\n".
......
......@@ -216,7 +216,7 @@ exit($exit_status);
sub fatal {
local($msg) = $_[0];
if ($copymode && -e $copyfile) {
if ($copymode && defined($copyfile) && -e $copyfile) {
unlink($copyfile);
}
die("*** $0:\n".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment