🧹 useless call to fix_path

This commit is contained in:
Vladislav Nepogodin 2023-03-25 18:42:48 +04:00
parent 8d0c6400e0
commit 912a1429e4
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
1 changed files with 2 additions and 2 deletions

View File

@ -58,9 +58,9 @@ fn quick_message(message: &'static str) {
let result = dialog.run();
let cmd: String;
if result == gtk::ResponseType::No {
cmd = fix_path("/usr/local/bin/calamares-offline.sh");
cmd = "/usr/local/bin/calamares-offline.sh".to_owned();
} else if result == gtk::ResponseType::Yes {
cmd = fix_path("/usr/local/bin/calamares-online.sh");
cmd = "/usr/local/bin/calamares-online.sh".to_owned();
} else {
unsafe {
dialog.destroy();