From: Marius Gavrilescu Date: Wed, 23 Apr 2014 08:22:44 +0000 (+0300) Subject: Use ne instead of != for strings X-Git-Tag: 5999.000_003~6 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=513eadc35a570c8e971f3cc2c2eaede340f4895d;p=gruntmaster-daemon.git Use ne instead of != for strings --- diff --git a/lib/Gruntmaster/Daemon/Format.pm b/lib/Gruntmaster/Daemon/Format.pm index 2678906..866345f 100644 --- a/lib/Gruntmaster/Daemon/Format.pm +++ b/lib/Gruntmaster/Daemon/Format.pm @@ -51,7 +51,7 @@ sub mkrun{ my $signame = sig_name $sig; die [TLE, "Time Limit Exceeded"] if $tle; die [OLE, 'Output Limit Exceeded'] if $sig && $signame eq 'XFSZ'; - die [DIED, "Crash (SIG$signame)"] if $sig && $signame != 'PIPE'; + die [DIED, "Crash (SIG$signame)"] if $sig && $signame ne 'PIPE'; die [NZX, "Non-zero exit status: " . ($? >> 8)] if $? >> 8; } else { my @fds = exists $args{fds} ? @{$args{fds}} : ();