mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
Remove comments from fsck
This commit is contained in:
@@ -88,7 +88,6 @@ static void banner(void)
|
||||
static int fsck(int pass)
|
||||
{
|
||||
struct fstab *fs;
|
||||
// int save;
|
||||
int rc = 0;
|
||||
|
||||
if (!setfsent()) {
|
||||
@@ -96,9 +95,6 @@ static int fsck(int pass)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// if ((save = log_is_debug()))
|
||||
// log_debug();
|
||||
|
||||
while ((fs = getfsent())) {
|
||||
char cmd[80];
|
||||
struct stat st;
|
||||
@@ -123,8 +119,6 @@ static int fsck(int pass)
|
||||
rc += run_interactive(cmd, "Checking filesystem %.13s", fs->fs_spec);
|
||||
}
|
||||
|
||||
// if (save)
|
||||
// log_debug();
|
||||
endfsent();
|
||||
|
||||
return rc;
|
||||
|
||||
Reference in New Issue
Block a user