diff options
-rwxr-xr-x | wd-journal | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |