From: Arvin Schnell Date: Thu, 14 Aug 2014 14:13:53 +0000 (+0200) Subject: - consistency X-Git-Tag: v0.2.4~4^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=015a710c81c4873557b76fdcd284283ca6ec5d38;p=thirdparty%2Fsnapper.git - consistency --- diff --git a/snapper/Snapper.cc b/snapper/Snapper.cc index 995ecdbc..a4e217ec 100644 --- a/snapper/Snapper.cc +++ b/snapper/Snapper.cc @@ -416,7 +416,7 @@ namespace snapper config_names.end()); sysconfig.setValue("SNAPPER_CONFIGS", config_names); - unlink((CONFIGSDIR "/" + config_name).c_str()); + SystemCmd cmd(RMBIN " " + quote(CONFIGSDIR "/" + config_name)); throw; }