Browse Source

znc_create: fix the fix xD

pull/1/head
creme 2 years ago
parent
commit
2b0e056e72
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
  1. 2
      srv/znc/add_znc_user.sh

2
srv/znc/add_znc_user.sh

@ -11,7 +11,7 @@ if [ -z "$1" ]; then
echo -e "Usage: $(basename "$0") [username]" ; exit 1
fi
if grep -Fxq "<User $2>" "$CONF"; then
if grep -Fxq "<User $1>" "$CONF"; then
echo -e "znc user \"$1\" already exists" ; exit 1
fi

Loading…
Cancel
Save