Only complain for a missing /etc/fstab

Avoids complaining for /proc/mounts while mounting procfs.
This commit is contained in:
sin 2014-03-15 19:25:27 +00:00
parent 023c8e0414
commit df9e438843
1 changed files with 2 additions and 1 deletions

View File

@ -148,7 +148,8 @@ main(int argc, char *argv[])
endmntent(fp);
fp = NULL;
} else {
weprintf("setmntent %s:", files[i]);
if (strcmp(files[i], "/proc/mounts") != 0)
weprintf("setmntent %s:", files[i]);
}
}
if(!source)