From: Arvin Schnell Date: Mon, 6 Jun 2011 14:50:04 +0000 (+0200) Subject: - place snapshots in .snapshots directory X-Git-Tag: v0.1.3~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=463ce1adfb65cecf2e6b35abc0c71825ee951a7f;p=thirdparty%2Fsnapper.git - place snapshots in .snapshots directory --- diff --git a/snapper/Snapper.cc b/snapper/Snapper.cc index a65ac008..4b76766b 100644 --- a/snapper/Snapper.cc +++ b/snapper/Snapper.cc @@ -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");