diff options
author | Adam Heath <doogie@debian.org> | 2002-08-23 04:22:03 +0000 |
---|---|---|
committer | Adam Heath <doogie@debian.org> | 2002-08-23 04:22:03 +0000 |
commit | 9281ef602d16da892198f42f139f095b81b6d917 (patch) | |
tree | 7c1e01e753519eaa2bb378aad906fd568390059d /utils | |
parent | e326ba46e22d7543159ca99af5a4f32cf71b0133 (diff) | |
download | dpkg-9281ef602d16da892198f42f139f095b81b6d917.tar.gz |
Handle directories better in md5sum.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/md5sum.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/md5sum.c b/utils/md5sum.c index 37b5654c7..5b6b9392b 100644 --- a/utils/md5sum.c +++ b/utils/md5sum.c @@ -145,8 +145,9 @@ main(int argc, char **argv) perror(*argv); rc++; break; + default: + printf("%s %c%s\n", digest, bin_mode ? '*' : ' ', *argv); } - printf("%s %c%s\n", digest, bin_mode ? '*' : ' ', *argv); } return rc; } |