]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fsck: fix -C parsing
authorKarel Zak <kzak@redhat.com>
Thu, 17 Feb 2011 10:56:51 +0000 (11:56 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 17 Feb 2011 10:56:51 +0000 (11:56 +0100)
Reported-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
fsck/fsck.c

index a2dc442501e792f53ab83dcad5c3f86f900e5ba3..effc866f359684c8992089b31a368925c4a76c2f 100644 (file)
@@ -1324,8 +1324,8 @@ static void PRS(int argc, char *argv[])
                                        if (progress_fd < 0)
                                                progress_fd = 0;
                                        else {
+                                               ++i;
                                                goto next_arg;
-                                               i++;
                                        }
                                }
                                break;