diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/md5sum.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/md5sum.c b/src/md5sum.c index cb86e355a..ae92fa37f 100644 --- a/src/md5sum.c +++ b/src/md5sum.c @@ -662,6 +662,9 @@ main (int argc, char **argv) usage (EXIT_FAILURE); } + if (!O_BINARY && binary < 0) + binary = 0; + if (optind == argc) argv[argc++] = "-"; |