summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/share/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/common b/src/share/common
index 025c991..1e393c7 100644
--- a/src/share/common
+++ b/src/share/common
@@ -346,7 +346,7 @@ remove_line() {
log debug "removing matching key lines..."
tempfile=$(mktemp "${file}.XXXXXXX") || \
failure "Unable to make temp file '${file}.XXXXXXX'"
- grep -v -x -F "$lines" "$file" >"$tempfile"
+ grep -v -x -F "$lines" "$file" >"$tempfile" || :
mv -f "$tempfile" "$file"
fi
}