From 1a18dc01aa695b74d309e1e5c77c52890d52c9ad Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Wed, 21 Dec 2016 10:33:41 +0100 Subject: [PATCH] - fixed --root option (bsc#1016633) --- VERSION | 2 +- client/proxy-lib.cc | 2 +- client/proxy-lib.h | 4 ++-- package/snapper.changes | 6 ++++++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 1d0ba9ea..267577d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4.0 +0.4.1 diff --git a/client/proxy-lib.cc b/client/proxy-lib.cc index 9fd7676a..7941bf12 100644 --- a/client/proxy-lib.cc +++ b/client/proxy-lib.cc @@ -144,7 +144,7 @@ ProxySnappersLib::getSnapper(const string& config_name) return proxy_snapper.get(); } - ProxySnapperLib* ret = new ProxySnapperLib(config_name); + ProxySnapperLib* ret = new ProxySnapperLib(config_name, target_root); proxy_snappers.emplace_back(ret); return ret; } diff --git a/client/proxy-lib.h b/client/proxy-lib.h index c8f13e72..8c852825 100644 --- a/client/proxy-lib.h +++ b/client/proxy-lib.h @@ -86,8 +86,8 @@ class ProxySnapperLib : public ProxySnapper public: - ProxySnapperLib(const string& config_name) - : snapper(new Snapper(config_name, "/")), proxy_snapshots(this) + ProxySnapperLib(const string& config_name, const string& target_root) + : snapper(new Snapper(config_name, target_root)), proxy_snapshots(this) {} virtual const string& configName() const override { return snapper->configName(); } diff --git a/package/snapper.changes b/package/snapper.changes index ca3aa513..cdfc3c37 100644 --- a/package/snapper.changes +++ b/package/snapper.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 21 10:29:57 CET 2016 - aschnell@suse.com + +- fixed --root option (bsc#1016633) +- version 0.4.1 + ------------------------------------------------------------------- Thu Dec 15 21:36:23 CET 2016 - aschnell@suse.com -- 2.47.3