jboxberger / synology-gitlab

Updated an improved Original Synology Package
MIT License
129 stars 20 forks source link

Fix mysqladmin path in restore script #32

Closed crux153 closed 6 years ago

crux153 commented 6 years ago

mysqladmin command in restore script isn't prefixed by $MYSQL10_BIN_DIR, causing the script fails to run with following error.

./restore: line 47: mysqladmin: command not found

I fixed this issue by prefixing mysqladmin with $MYSQL10_BIN_DIR, just as in backup script.