aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Base.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'type/Base.class.php')
-rw-r--r--type/Base.class.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php
index 72ce437..c3741bd 100644
--- a/type/Base.class.php
+++ b/type/Base.class.php
@@ -251,7 +251,10 @@ class Type_Base {
251 $shellcmd 251 $shellcmd
252 ); 252 );
253 $shellcmd = implode(' ', $shellcmd); 253 $shellcmd = implode(' ', $shellcmd);
254 passthru($shellcmd); 254 passthru($shellcmd, $exitcode);
255 if ($exitcode !== 0) {
256 header('HTTP/1.1 500 Internal Server Error');
257 }
255 break; 258 break;
256 } 259 }
257 } 260 }