Merge pull request #624 from shindere/cmpbyt-exit-status
cmpbyt: return 1 rather than 2 to report file difference.master
commit
7b94f31703
|
@ -84,4 +84,4 @@ let _ =
|
||||||
eprintf "Usage: cmpbyt <file 1> <file 2>\n";
|
eprintf "Usage: cmpbyt <file 1> <file 2>\n";
|
||||||
exit 2
|
exit 2
|
||||||
end;
|
end;
|
||||||
if cmpbyt Sys.argv.(1) Sys.argv.(2) then exit 0 else exit 2
|
if cmpbyt Sys.argv.(1) Sys.argv.(2) then exit 0 else exit 1
|
||||||
|
|
Loading…
Reference in New Issue