Skip to content

Commit

Permalink
fix: Syntax error (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon authored Apr 17, 2024
1 parent c025fa2 commit 1402eba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@ fn kreadconfig() -> Command {
let command = match env::var("KDE_SESSION_VERSION").unwrap_or_default().as_str() {
"6" => "kreadconfig6",
_ => "kreadconfig5"
}
};
Command::new(command)
}

fn kwriteconfig() -> Command {
let command = match env::var("KDE_SESSION_VERSION").unwrap_or_default().as_str() {
"6" => "kwriteconfig6",
_ => "kwriteconfig5"
}
};
Command::new(command)
}

Expand Down

0 comments on commit 1402eba

Please sign in to comment.