1
0
mirror of git://git.suckless.org/ubase synced 2025-03-07 20:09:32 +00:00

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

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)