]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- read mount status from /proc/mounts
authorArvin Schnell <aschnell@suse.de>
Wed, 6 Feb 2013 13:24:13 +0000 (08:24 -0500)
committerArvin Schnell <aschnell@suse.de>
Wed, 6 Feb 2013 13:24:13 +0000 (08:24 -0500)
snapper/AppUtil.cc

index 8487ec2a3d5b5b94697a2684162cab88f7f906f5..aa00a9f1ca3a11af80f734a16a92afcf27141640 100644 (file)
@@ -165,7 +165,7 @@ namespace snapper
     bool
     getMtabData(const string& mount_point, bool& found, MtabData& mtab_data)
     {
-       FILE* f = setmntent("/etc/mtab", "r");
+       FILE* f = setmntent("/proc/mounts", "r");
        if (!f)
        {
            y2err("setmntent failed");