]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- place snapshots in .snapshots directory
authorArvin Schnell <aschnell@suse.de>
Mon, 6 Jun 2011 14:50:04 +0000 (16:50 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 6 Jun 2011 14:50:04 +0000 (16:50 +0200)
snapper/Snapper.cc

index a65ac008a2cbf7a77a931b750a0134598a21f1c7..4b76766be55ba2a3cdb86ab989d2e41dfad15670 100644 (file)
@@ -594,7 +594,7 @@ namespace snapper
            throw AddConfigFailedException("modifying config failed");
        }
 
-       SystemCmd cmd2(BTRFSBIN " subvolume create " + subvolume + "/snapshots");
+       SystemCmd cmd2(BTRFSBIN " subvolume create " + subvolume + SNAPSHOTSDIR);
        if (cmd2.retcode() != 0)
        {
            throw AddConfigFailedException("creating snapshot failed");