Skip to content

Commit 0db1e73

Browse files
committed
Update db-login
This script fails to run for me with the error: line 49: syntax error: unexpected end of file If I change the else to a fi on line 41, it works.
1 parent b25a914 commit 0db1e73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db-login

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ eval $( bin/db-credentials )
3838
# Set a custom port, if provided to us.
3939
if [ -n "${DB_PORT}" ]; then
4040
PORT_CLAUSE="--port=${DB_PORT}"
41-
else
41+
fi
4242

4343
# Define the primary command line.
4444
CMD="mysql --host=${DB_HOST} ${PORT_CLAUSE-} --database=${DB_DATABASE} --user=${DB_USERNAME}"

0 commit comments

Comments
 (0)