diff options
Diffstat (limited to 'include/salmon.php')
-rw-r--r-- | include/salmon.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/salmon.php b/include/salmon.php index a12b7391e..85bda1c8f 100644 --- a/include/salmon.php +++ b/include/salmon.php @@ -205,6 +205,8 @@ EOT; } logger('slapper returned ' . $return_code); - return; + if(! $return_code) + return(-1); + return ((substr($return_code,0,1) === '2') ? 0 : 1); } |