Skip to content

Commit

Permalink
[CMSP-678]: Shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Wagner committed Oct 11, 2023
1 parent ee0b4f8 commit 817974c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/full-teardown-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ drop_db() {
if [ -n "$DB_HOSTNAME" ] ; then
if [ $(echo "$DB_SOCK_OR_PORT" | grep -e '^[0-9]\{1,\}$') ]; then
EXTRA=" --host=$DB_HOSTNAME --port=$DB_SOCK_OR_PORT --protocol=tcp"
elif ! [ -z "$DB_SOCK_OR_PORT" ] ; then
elif [ -n "$DB_SOCK_OR_PORT" ] ; then
EXTRA=" --socket=$DB_SOCK_OR_PORT"
elif ! [ -z "$DB_HOSTNAME" ] ; then
elif [ -n "$DB_HOSTNAME" ] ; then
EXTRA=" --host=$DB_HOSTNAME --protocol=tcp"
fi
fi
Expand Down

0 comments on commit 817974c

Please sign in to comment.