From 513eadc35a570c8e971f3cc2c2eaede340f4895d Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 23 Apr 2014 11:22:44 +0300 Subject: [PATCH] Use ne instead of != for strings --- lib/Gruntmaster/Daemon/Format.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}} : (); -- 2.30.2