Fix error message when spawning bash in func.

This commit is contained in:
Csonka Mihaly 2020-03-21 02:37:54 +01:00
parent a209dd94ca
commit 77d0de839e

View file

@ -16,7 +16,7 @@ pub fn main(func: String, args: Vec<String>) -> Result<(), Error> {
.arg("-c")
.arg(cmd.as_str())
.spawn()
.context("Failed to spawn bash instance")?;
.context("Failed to execute bash")?;
Ok(())
}