summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Logging.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Logging.pm')
-rw-r--r--Bugzilla/Logging.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Logging.pm b/Bugzilla/Logging.pm
index b69ffa2e9..769485c86 100644
--- a/Bugzilla/Logging.pm
+++ b/Bugzilla/Logging.pm
@@ -17,7 +17,7 @@ use Bugzilla::Constants qw(bz_locations);
use English qw(-no_match_vars $PROGRAM_NAME);
sub is_interactive {
- return exists $ENV{'SERVER_SOFTWARE'} ? 1 : 0;
+ return not exists $ENV{SERVER_SOFTWARE}
}
BEGIN {