summaryrefslogtreecommitdiff
path: root/wd-journal
diff options
context:
space:
mode:
Diffstat (limited to 'wd-journal')
-rwxr-xr-xwd-journal2
1 files changed, 1 insertions, 1 deletions
diff --git a/wd-journal b/wd-journal
index 4fa6f84..28edd46 100755
--- a/wd-journal
+++ b/wd-journal
@@ -27,7 +27,7 @@ append_line_if_not_in_file () {
local filepath=$1
local line=$2
- if ! grep -q "$line" "$filepath"; then
+ if ! grep -qF "$line" "$filepath"; then
echo "$line" >> "$filepath"
fi
}