Skip to content

Commit

Permalink
Check return code of close
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
petdance authored and moritz committed Feb 26, 2009
1 parent 8b9b21e commit c173544
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/gen_junction_pir.pl
Expand Up @@ -50,5 +50,4 @@
);
}

close $fh;
0;
close $fh or die $!;

0 comments on commit c173544

Please sign in to comment.