File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ case "${action}" in
148148 exit 1
149149 fi
150150
151- if alias=" $( grep -xe " ${user_id} .*" " ${list} " ) "
151+ if alias=" $( grep -x " ${user_id} .*" " ${list} " ) "
152152 then
153153 alias_id=" $( cut -d ' ' -f 2 <<< " ${alias}" ) "
154154
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ case "${action}" in
132132 < " ${list} "
133133 ;;
134134 (add)
135- if grep -qxe " ${user_id} " " ${list} "
135+ if grep -qx " ${user_id} " " ${list} "
136136 then
137137 echo " User ID ${user_id} is already in blacklist"
138138 exit 1
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ case "${action}" in
132132 < " ${list} "
133133 ;;
134134 (add)
135- if grep -qxe " ${user_id} " " ${list} "
135+ if grep -qx " ${user_id} " " ${list} "
136136 then
137137 echo " User ID ${user_id} is already in whitelist"
138138 exit 1
You can’t perform that action at this time.
0 commit comments