diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-25 13:04:41 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-25 13:04:41 +0000 |
| commit | a55c0eec2c121dbf8117c270f0d6894a25000f43 (patch) | |
| tree | 4530759da6786f22b6e8ce3b10225e23f37fe334 /usr.bin | |
| parent | 1f60ba6137a7fc0daa887b785b25b34a21050312 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/cmp/cmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c index cfa43fe23fdc..73e89e4aaf7b 100644 --- a/usr.bin/cmp/cmp.c +++ b/usr.bin/cmp/cmp.c @@ -157,7 +157,7 @@ endargs: if (special) c_special(fd1, file1, skip1, fd2, file2, skip2); - else + else { if (zflag && sb1.st_size != sb2.st_size) { if (!sflag) (void) printf("%s %s differ: size\n", @@ -166,6 +166,7 @@ endargs: } c_regular(fd1, file1, skip1, sb1.st_size, fd2, file2, skip2, sb2.st_size); + } exit(0); } |
