Commit 648127eb authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 347707: Changing parameters could silently fail because we weren't correctly…

Bug 347707: Changing parameters could silently fail because we weren't correctly checking the return code from "rename" Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat
parent 985149e6
......@@ -287,7 +287,7 @@ sub write_params {
close $fh;
rename $tmpname, $param_file
|| die "Can't rename $tmpname to $param_file: $!";
or die "Can't rename $tmpname to $param_file: $!";
ChmodDataFile($param_file, 0666);
......
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