diff --git a/comm/comm.rs b/comm/comm.rs index 7f0b425c2..7babb946d 100644 --- a/comm/comm.rs +++ b/comm/comm.rs @@ -125,7 +125,7 @@ pub fn uumain(args: Vec) -> int { println!(""); print(getopts::usage("Compare sorted files line by line.", opts.as_slice()).as_slice()); if matches.free.len() != 2 { - return 0; + return 1; } return 0; }