Error if getting mariadb password fails
This commit is contained in:
parent
76b24ec257
commit
c5b469253c
|
@ -138,6 +138,10 @@ function get_mariadb_password {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
|
MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
|
||||||
|
if [[ "$MARIADB_PASSWORD" == *'failed'* ]]; then
|
||||||
|
echo $'Could not obtain mariadb password'
|
||||||
|
exit 835225
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_mariadb {
|
function install_mariadb {
|
||||||
|
|
Loading…
Reference in New Issue