Fix accidentally reveresed statement
This commit is contained in:
parent
9ecba26483
commit
8829a583b5
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user