diff options
-rw-r--r-- | sutils/fstab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c index 19b03f50..b66e5195 100644 --- a/sutils/fstab.c +++ b/sutils/fstab.c @@ -593,7 +593,7 @@ fstab_add_mntent (struct fstab *const fstab, const struct mntent *mntent, free (fs); } - if (!err && mounted_fs) + if (!err && mounted_fs && mounted_fs != fs) /* Get rid of the conflicting entry MOUNTED_FS. */ fs_free (mounted_fs); |