Merge pull request #624 from shindere/cmpbyt-exit-status

cmpbyt: return 1 rather than 2 to report file difference.
master
Damien Doligez 2016-06-23 13:23:35 +02:00 committed by GitHub
commit 7b94f31703
1 changed files with 1 additions and 1 deletions

View File

@ -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