From 2a721db2807e72c27f4bae3cc2ebeb7a04c4976a Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 6 Oct 2016 16:56:21 -0700 Subject: [PATCH] Invoke sh with `-u` (error on unbound variable) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9f11cb0..3afe90c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -87,7 +87,7 @@ impl<'a> Recipe<'a> { command = &command[1..]; } let status = process::Command::new("sh") - .arg("-c") + .arg("-cu") .arg(command) .status(); try!(match status {