]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 347707: Changing parameters could silently fail because we weren't correctly...
authormkanat%bugzilla.org <>
Wed, 24 Dec 2008 19:08:20 +0000 (19:08 +0000)
committermkanat%bugzilla.org <>
Wed, 24 Dec 2008 19:08:20 +0000 (19:08 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=justdave, a=mkanat

Bugzilla/Config.pm

index 3666861f0b5b057afd2e50853d332ad104bdfc48..14f10bed986be6b104c1321e0bc37640c0bc718a 100644 (file)
@@ -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);