X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fssic.pl;fp=src%2Fssic.pl;h=81bb50dfdcdc29868805a5e6374b78d6862894a6;hb=874cafcd1d826d03066055b80c7900cae706f9c8;hp=ba8b184355519a7b115f0d2db13c70f28dbe2800;hpb=90d425f646cc30e880627e7168c834a7640ef65d;p=ssic.git diff --git a/src/ssic.pl b/src/ssic.pl index ba8b184..81bb50d 100755 --- a/src/ssic.pl +++ b/src/ssic.pl @@ -173,10 +173,9 @@ sub compile } if ($output ne "-") { close($output_fh); - } - - if (not rename($output . "~", $output)) { - error(4, "%s: %s\n", $output, $!); + if (not rename($output . "~", $output)) { + error(4, "%s: %s\n", $output, $!); + } } }