]> err.no Git - systemd/commitdiff
Revert "fsck: add new -l switch to fsck mount options"
authorMichael Biebl <biebl@debian.org>
Sun, 31 Oct 2010 22:29:27 +0000 (23:29 +0100)
committerMichael Biebl <biebl@debian.org>
Sun, 31 Oct 2010 22:30:17 +0000 (23:30 +0100)
The '-l' option is already taken by fsck.ext[234]:
  "-l bad_blocks_file   Add to badblocks list"

This reverts commit cf1a105550766d2251bc10240b6058a37babd600 but keeps
the string changes.

src/fsck.c

index fdcf6b43c5d08335a650f7a0a713f3d3068aa945..dfaf221b3e1bb598e2e0ec42d1c0325cb58a93b7 100644 (file)
@@ -142,7 +142,7 @@ static void test_files(void) {
 }
 
 int main(int argc, char *argv[]) {
-        const char *cmdline[8];
+        const char *cmdline[7];
         int i = 0, r = EXIT_FAILURE, q;
         pid_t pid;
         siginfo_t status;
@@ -213,7 +213,6 @@ int main(int argc, char *argv[]) {
         cmdline[i++] = "/sbin/fsck";
         cmdline[i++] = "-a";
         cmdline[i++] = "-T";
-        cmdline[i++] = "-l";
 
         if (!root_directory)
                 cmdline[i++] = "-M";