From 486eccba2e99888ebc4be77af52b1df54a4645ef Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 3 Aug 2013 21:53:09 -0400 Subject: [PATCH] shell_exec_error() fix --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index 8b2c4c7b..7c202380 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1947,5 +1947,5 @@ function shell_exec_error($command) { ); } - return $return === 'TB_SUCCESS' ? false : $return; + return ($return === 'TB_SUCCESS') ? false : $return; }