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