Skip to content

Commit 1ddc903

Browse files
committed
Call read_dbpasswords outside of update_passwords function
This is consistent with all the other functions.
1 parent 315957f commit 1ddc903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/dj_setup_database.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ remove_db_users()
259259

260260
update_password()
261261
{
262-
read_dbpasswords
263262
(
264263
echo "ALTER USER '$domjudge_DBUSER'@'%' IDENTIFIED BY '$domjudge_PASSWD';"
265264
echo "FLUSH PRIVILEGES;"
@@ -354,6 +353,7 @@ create-db-users)
354353
;;
355354

356355
update-password)
356+
read_dbpasswords
357357
update_password
358358
;;
359359

0 commit comments

Comments
 (0)