Răsfoiți Sursa

[MODULES][Terminal] Release v1.4

DSR! 2 ani în urmă
părinte
comite
cbe5e632d2

BIN
modules/build/Terminal.tar.gz


Fișier diff suprimat deoarece este prea mare
+ 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()

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff