Browse Source

[MODULES][Terminal] Release v1.4

DSR! 2 năm trước cách đây
mục cha
commit
cbe5e632d2

BIN
modules/build/Terminal.tar.gz


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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()

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác