From 8829a583b5318bceb5f021ddef1561472d6256dc Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" <83735213+CosmicFusion@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:51:31 +0300 Subject: [PATCH] Fix accidentally reveresed statement --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index f1bd70f..43bd304 100644 --- a/src/main.rs +++ b/src/main.rs @@ -49,7 +49,7 @@ fn main() { app.connect_activate(build_ui); }); - if get_current_username().unwrap() != "pikaos" { + if get_current_username().unwrap() == "pikaos" { application.run(); } else { println!("Error: This program can only be run via pikaos user");