summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-11-05 16:57:44 +0300
committerNamilskyy <alive6863@gmail.com>2025-11-05 16:57:44 +0300
commit838502476fe846313b42ebc12c3910761038ab71 (patch)
tree0d9af707f044eb9ad96946a53618f529768676b0 /src/main.rs
parent978d13032b1d6ac8538a1e30708681162c241c3d (diff)
Removed unused files, fixed issue with gui-destroyer where always thinked it run with root.
Implementing `makepkg build` check in gh actions.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 7bb49ae..5a9e144 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -62,7 +62,7 @@ fn main() {
},
Commands::GuiDestroyer => unsafe {
unsafe { let status = check_root();
- let _ = non_critical::gui_destroyer::artifacts_and_kill(status == 0, 100000); }
+ let _ = non_critical::gui_destroyer::artifacts_and_kill(status == 1, 100000); }
},
Commands::StopGuiDestroyer => unsafe {
let _ = non_critical::gui_destroyer::artifacts_and_kill(false, 0);