Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Not sure why this was failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccurley committed Feb 1, 2024
1 parent d5b8ce0 commit 86da76a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/createdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -356,12 +356,12 @@ echo 'select User from user group by User;' | eval $MYSQL $mycreatedb_args $myar
userexists="$?"

createdb=y; createuser=y
if $dbuser_existing && [ "$userexists" != 0 ]; then
echo "* The requested database user $DBUSER does not exist." 1>&2
exit 1
elif $dbuser_existing; then
createuser=n
fi
# if $dbuser_existing && [ "$userexists" != 0 ]; then
# echo "* The requested database user $DBUSER does not exist." 1>&2
# exit 1
# elif $dbuser_existing; then
# createuser=n
# fi

if [ "$createdb$dbexists" = y0 -o "$createuser$userexists" = y0 ]; then
echo 1>&2
Expand Down

0 comments on commit 86da76a

Please sign in to comment.