From 9c423dfca49a9550e455797c5f9af2ef99ffe9d9 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 13 Dec 2017 17:31:11 +0100 Subject: [PATCH] Disable toggling of log/debug in fsck() loop Don't really see the point of this code anymore, was possibly an issue before we refactored the logging subsystem. Comment out for now, and remove later. Signed-off-by: Joachim Nilsson --- src/finit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/finit.c b/src/finit.c index 3238d9f7..94dc926e 100644 --- a/src/finit.c +++ b/src/finit.c @@ -107,7 +107,7 @@ static int fismnt(char *dir) */ static int fsck(int pass) { - int save; +// int save; struct fstab *fs; if (!setfsent()) { @@ -115,8 +115,8 @@ static int fsck(int pass) return 1; } - if ((save = log_is_debug())) - log_debug(); +// if ((save = log_is_debug())) +// log_debug(); while ((fs = getfsent())) { char cmd[80]; @@ -142,8 +142,8 @@ static int fsck(int pass) run_interactive(cmd, "Checking filesystem %.13s", fs->fs_spec); } - if (save) - log_debug(); +// if (save) +// log_debug(); endfsent(); return 0;