]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- consistency 106/head
authorArvin Schnell <aschnell@suse.de>
Thu, 14 Aug 2014 14:13:53 +0000 (16:13 +0200)
committerArvin Schnell <aschnell@suse.de>
Thu, 14 Aug 2014 14:13:53 +0000 (16:13 +0200)
snapper/Snapper.cc

index 995ecdbcf912184971379eb7ffddf0af866a6080..a4e217ec60cb0799fc14e3ec2df35c5c8c7be354 100644 (file)
@@ -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;
        }