Skip to content

Commit

Permalink
Merge pull request #155 from anthr76/anthr76/fix-dash-c
Browse files Browse the repository at this point in the history
fix: ensure prepare_command only appends one -c arguemnt to shell
  • Loading branch information
sachaos authored Sep 26, 2024
2 parents 54cb024 + 7938154 commit 553910c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl<S: Store> App<S> {
Some(ref shell_options) if !shell_options.is_empty() => {
shell_options.split(' ').map(|s| s.to_string()).collect()
}
_ => vec!["-c".to_string()],
_ => Vec::new(),
};
let is_exec = cli.is_exec || default_exec;
let shell = if is_exec {
Expand Down

0 comments on commit 553910c

Please sign in to comment.