summaryrefslogtreecommitdiff
path: root/imp.ha
diff options
context:
space:
mode:
Diffstat (limited to 'imp.ha')
-rw-r--r--imp.ha3
1 files changed, 2 insertions, 1 deletions
diff --git a/imp.ha b/imp.ha
index 57226a7..d9ed16e 100644
--- a/imp.ha
+++ b/imp.ha
@@ -311,8 +311,9 @@ fn decrypt(file: str) ([]u8 | os::exec::error | io::error) = {
io::close(pipe_stdout.0)?;
let status = os::exec::wait(&proc)?;
+
match (os::exec::check(&status)) {
- case let e: os::exec::exit_status =>
+ case let e: !os::exec::exit_status =>
fmt::fatal(os::exec::exitstr(e));
case void =>
yield;