Fix accidentally reveresed statement

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-02-21 17:51:31 +03:00 committed by GitHub
parent 9ecba26483
commit 8829a583b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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