hyphenate the option for mysql passwd. typo blunder

This commit is contained in:
Prasanna Santhanam 2012-10-09 19:45:19 +05:30
parent e28e8f8af5
commit 187d4f7ec9
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ do
done
#Damn Small Linux ISO type
ostypeid=$(mysql -ucloud -Dcloud pcloud -h$DB_SVR -s -N -r -e"select uuid from guest_os where display_name='CentOS 5.3 (64-bit)'")
ostypeid=$(mysql -ucloud -Dcloud -pcloud -h$DB_SVR -s -N -r -e"select uuid from guest_os where display_name='CentOS 5.3 (64-bit)'")
if [[ $ostypeid == "" ]]; then
echo "Unable to contact DB server @ $DB_SVR"
exit 2