Force removal of files when restoring system config
This commit is contained in:
parent
e6246599eb
commit
112e015f05
@ -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" != "." ]
|
||||
|
Loading…
Reference in New Issue
Block a user