diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-11-05 16:57:44 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-11-05 16:57:44 +0300 |
| commit | 838502476fe846313b42ebc12c3910761038ab71 (patch) | |
| tree | 0d9af707f044eb9ad96946a53618f529768676b0 /src | |
| parent | 978d13032b1d6ac8538a1e30708681162c241c3d (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')
| -rw-r--r-- | src/main.rs | 2 |
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); |
