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");