File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ case "${1}" in
7474 ;;
7575
7676 updateusrpw)
77- if [[ " ${@: 3} " =~ ^[a-zA-Z0-9]+$ ]]; then
78- exec /usr/libexec/pzsvrtool/pzsvrtool_main.sh updateusrpw ${2} ${3}
77+ if [[ " ${3} " =~ ^[a-zA-Z0-9]+$ ]]; then
78+ exec /usr/libexec/pzsvrtool/pzsvrtool_main.sh updateusrpw " ${2} " " ${3} "
7979 else
8080 echo " [pzsvrtool] Invalid password, only allow alphanumeric with no space"
8181 fi
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ updateusrpw() {
403403 fi
404404 check_config
405405 if [[ $( sql_query ~ /" ${zomboidServerFolderName} /db/${zomboidServerName} .db" " SELECT id FROM whitelist WHERE username = '${1} ';" ) ]]; then
406- python3 /usr/libexec/pzsvrtool/pzsvrtool_updateusrpw.py -username ${1} -password ${2}
406+ python3 /usr/libexec/pzsvrtool/pzsvrtool_updateusrpw.py -username " ${1} " -password " ${2} "
407407 echo " [pzsvrtool] Password changed for ${1} "
408408 else
409409 echo " [pzsvrtool] ${1} not found"
Original file line number Diff line number Diff line change 11Package: pzsvrtool
2- Version: 1.6.23
2+ Version: 1.6.24
33Section: utils
44Priority: optional
55Architecture: all
Original file line number Diff line number Diff line change 11Name: pzsvrtool
2- Version: 1.6.23
2+ Version: 1.6.24
33Release: 1%{?dist }
44Summary: Scripts to manage Project Zomboid Server
55
You can’t perform that action at this time.
0 commit comments