Explorar el Código

[MODULES][Terminal] Release v1.4

DSR! hace 2 años
padre
commit
cbe5e632d2

BIN
modules/build/Terminal.tar.gz


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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");
         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()
     protected function getStatus()

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio