diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mount_util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mount_util.c b/lib/mount_util.c index 089ca45..f19dfb4 100644 --- a/lib/mount_util.c +++ b/lib/mount_util.c @@ -75,6 +75,10 @@ static int mtab_needs_update(const char *mnt) if (err == EROFS) return 0; + + res = access("/run/mount/utab", F_OK); + if (res == -1) + return 0; } return 1; |