summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);