X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=src%2Fcommon;h=d20d306c63793c375fe4d03f77f1c4595b5fe8e8;hb=56e8fa26a4ce594f2c5c71b600df11fc9f255956;hp=01e52b8b86c44b11d13ce6a7001498cb7923ea78;hpb=5470209cd829eda1e75719e93fe6c69cf2c1a61d;p=monkeysphere.git diff --git a/src/common b/src/common index 01e52b8..d20d306 100644 --- a/src/common +++ b/src/common @@ -85,7 +85,7 @@ remove_line() { # if the line is there are removed, return 0 if [ "$file" -a "$string" ] ; then - grep -v "$string" "$file" | sponge "$file" + grep -v -F "$string" "$file" | sponge "$file" return 0 # otherwise return 1 else