This commit is contained in:
Bob Mottram 2016-11-20 13:15:30 +00:00
parent d4fcc3420e
commit 03f4d60580
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ function view_or_change_passwords {
0)
CURR_PASSWORD=$(<$data)
if [ ${#CURR_PASSWORD} -gt 8 ]; then
${PROJECT_NAME}-pass -u ${SELECTED_USERNAME} -a ${SELECTED_APP} -p ${CURR_PASSWORD}
${PROJECT_NAME}-pass -u ${SELECTED_USERNAME} -a ${SELECTED_APP} -p "${CURR_PASSWORD}"
change_password_${SELECTED_APP} ${SELECTED_USERNAME} "${CURR_PASSWORD}"
dialog --title $"Change password" \
--msgbox $"The password was changed" 6 40