forked from ungleich-public/cdist
parent
d7120d352c
commit
4f5dddd9d6
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ tmpfile=\$(mktemp ${file}.cdist.XXXXXXXXXX)
|
|||
if [ -f "$file" ]; then
|
||||
cp -p "$file" "\$tmpfile"
|
||||
fi
|
||||
grep -v $greparg '$regex' '$file' > \$tmpfile || true
|
||||
grep -v $greparg "$regex" '$file' > \$tmpfile || true
|
||||
mv -f "\$tmpfile" "$file"
|
||||
eof
|
||||
echo "removed" >> "$__messages_out"
|
||||
|
|
Loading…
Reference in a new issue