Skip to content

Commit cc8f0e5

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

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
@@ -256,7 +256,6 @@ remove_db_users()
256256

257257
update_password()
258258
{
259-
read_dbpasswords
260259
(
261260
echo "ALTER USER '$domjudge_DBUSER'@'localhost' IDENTIFIED BY '$domjudge_PASSWD';"
262261
echo "FLUSH PRIVILEGES;"
@@ -351,6 +350,7 @@ create-db-users)
351350
;;
352351

353352
update-password)
353+
read_dbpasswords
354354
update_password
355355
;;
356356

0 commit comments

Comments
 (0)