summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-08-03 21:53:09 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-03 21:53:09 -0400
commit486eccba2e99888ebc4be77af52b1df54a4645ef (patch)
tree494957c4bb69b625a12f1ed0803b5cee56e80b1f
parentb373b39f44d87a8c1085433c5e848addcf1a8d72 (diff)
shell_exec_error() fix
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
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;
}