diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-07-06 14:44:50 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-07-06 14:44:50 -0400 |
commit | fa2aef91c23ade9b1a4ef4bf7e00f3202d543854 (patch) | |
tree | dc736a4430d71059d7d5c45cb6475b8af510d314 /src/eval.rs | |
parent | d5aa9a797d640650f019c4e7dbc9e0a2229a29fa (diff) | |
download | nbsh-old-fa2aef91c23ade9b1a4ef4bf7e00f3202d543854.tar.gz nbsh-old-fa2aef91c23ade9b1a4ef4bf7e00f3202d543854.zip |
make exit handling more consistent
Diffstat (limited to 'src/eval.rs')
-rw-r--r-- | src/eval.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/eval.rs b/src/eval.rs index 5f789b3..549650d 100644 --- a/src/eval.rs +++ b/src/eval.rs @@ -37,8 +37,7 @@ pub fn eval(line: &str) -> Result<Eval> { pub enum CommandEvent { CommandStart(String, Vec<String>), Output(Vec<u8>), - ProcessExit(std::process::ExitStatus), - BuiltinExit, + CommandExit(std::process::ExitStatus), } pub struct Eval { |