diff options
-rw-r--r-- | coreutils/md5_sha1_sum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index eeee18449..aea43ff8c 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -98,6 +98,7 @@ static int hash_files(int argc, char **argv, hash_algo_t hash_algo) | |||
98 | 98 | ||
99 | if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) | 99 | if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK) |
100 | flags = bb_getopt_ulflags(argc, argv, "scw"); | 100 | flags = bb_getopt_ulflags(argc, argv, "scw"); |
101 | else optind = 1; | ||
101 | 102 | ||
102 | if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK && !(flags & FLAG_CHECK)) { | 103 | if (ENABLE_FEATURE_MD5_SHA1_SUM_CHECK && !(flags & FLAG_CHECK)) { |
103 | if (flags & FLAG_SILENT) { | 104 | if (flags & FLAG_SILENT) { |