Browse Source

[MODULES][Terminal] Release v1.4

DSR! 2 years ago
parent
commit
cbe5e632d2

BIN
modules/build/Terminal.tar.gz


File diff suppressed because it is too large
+ 0 - 0
modules/build/modules.json


+ 5 - 1
modules/src/Terminal/api/module.php

@@ -149,7 +149,11 @@ class Terminal extends Module
         ];
         */
         exec("/usr/bin/pkill ttyd");
-        $this->response = ["success" => !\helper\checkRunning($this->getTerminalPath())];
+        $status = \helper\checkRunning($this->getTerminalPath());
+        if ($status) {
+            $this->addLog("Terminal could not be stop! command: /usr/bin/pkill ttyd");
+        }
+        $this->response = ["success" => !$status];
     }
 
     protected function getStatus()

Some files were not shown because too many files changed in this diff