summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-11-19 04:22:36 +0100
committerLennart Poettering <lennart@poettering.net>2010-11-19 04:22:36 +0100
commite9ecea880571e520c60fae2dd2f10fcfd7dd1ab8 (patch)
tree246d74a6e25019231453ad9484fc2d9979c5e634
parent8e486ef03b992d4c0d373195f5e8d1c3a200bc30 (diff)
Revert "Revert "fsck: add new -l switch to fsck mount options""
This reverts commit c8bc83f5eac49f083ae53d965577118c1b5c1116. As Karel pointed out the -l switch doesn't actualy conflict with per-filesystem options, since those can be seperated by -- in the command line. Since -l is here to stay we hence enable it again for now.
-rw-r--r--src/fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fsck.c b/src/fsck.c
index dfaf221b3e..fdcf6b43c5 100644
--- a/src/fsck.c
+++ b/src/fsck.c
@@ -142,7 +142,7 @@ static void test_files(void) {
}
int main(int argc, char *argv[]) {
- const char *cmdline[7];
+ const char *cmdline[8];
int i = 0, r = EXIT_FAILURE, q;
pid_t pid;
siginfo_t status;
@@ -213,6 +213,7 @@ 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";