From 112e015f05854af49e5148904de62338951a1343 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Fran=C3=A7ois?= Date: Sat, 20 Sep 2014 15:40:46 +0200 Subject: [PATCH] Force removal of files when restoring system config --- tests/common/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/config.sh b/tests/common/config.sh index 511b9a03..9b504852 100644 --- a/tests/common/config.sh +++ b/tests/common/config.sh @@ -37,7 +37,7 @@ restore_config () cp -dp "tmp/$file" "/$file" rm "tmp/$file" else - rm "/$file" + rm -f "/$file" fi d="$(dirname "tmp/$file")" while [ -n "$d" ] && [ "$d" != "." ]