summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sutils/fstab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c
index 24a1a0df..2e125d8d 100644
--- a/sutils/fstab.c
+++ b/sutils/fstab.c
@@ -490,7 +490,7 @@ fs_remount (struct fs *fs)
inline struct fs *
fstab_find_device (const struct fstab *fstab, const char *name)
{
- if (strcmp (name, "none") == 0)
+ if (strcmp (name, "none") == 0 || strcmp (name, "proc") == 0)
return NULL;
char *real_name = realpath (name, NULL);