From 08b471bd30c6eec88598367b24925ea1ba4ce60b Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 27 Aug 2016 22:37:24 +0100 Subject: [PATCH] Don't import bytes and be consistent with dying in bro-perl --- bin/bro-perl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/bro-perl b/bin/bro-perl index ffad905..45eed8e 100755 --- a/bin/bro-perl +++ b/bin/bro-perl @@ -1,11 +1,10 @@ #!perl -# use warnings; use strict; use 5.014; -use bytes; +use bytes (); use File::Slurp; use Getopt::Long; @@ -54,7 +53,7 @@ for ( 1..$REPEAT ) { my $ofh; if( $OUTPUT ) { - die "Output file exists" + die "Output file exists\n" if( -e $OUTPUT && $REPEAT == 1 && !$FORCE ); open $ofh, ">", $OUTPUT or die "Cannot open output file $OUTPUT.\n"; -- 2.30.2