Reformat code

This commit is contained in:
Jordi Boggiano 2013-12-27 10:54:48 +01:00
parent 040c028089
commit 8c7e8c58c3

8
env/env.rs vendored
View file

@ -192,10 +192,10 @@ fn main() {
[ref prog, ..args] => {
match std::run::process_status(prog.as_slice(), args.as_slice()) {
Some(exit) =>
match exit {
std::io::process::ExitStatus(status) => std::os::set_exit_status(status),
_ => std::os::set_exit_status(1)
},
std::os::set_exit_status(match exit {
std::io::process::ExitStatus(s) => s,
_ => 1
}),
None => std::os::set_exit_status(1)
}
}