diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-25 13:01:34 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-07-25 13:01:34 +0000 |
| commit | 1727cb4cae100feb1b38a21042b75352a30c2b8a (patch) | |
| tree | e9fc6f4c1dc76d0c31ebf8fb7fc9ab1d22041a34 | |
| parent | 10851dc4ad91601a58cf679252ebc43d2f17e1c9 (diff) | |
Notes
| -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 cfa43fe23fdc4..73e89e4aaf7bf 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); } |
