fix delete confirmation dialog
This commit is contained in:
parent
a134b67cfc
commit
48df6b6aa3
@ -276,8 +276,10 @@ manageEntry () {
|
|||||||
ask=$(echo -e "Yes\nNo" | _rofi -mesg "${HELP}" -dmenu -p "Are You Sure? > ")
|
ask=$(echo -e "Yes\nNo" | _rofi -mesg "${HELP}" -dmenu -p "Are You Sure? > ")
|
||||||
if [[ "$ask" == "Yes" ]]; then
|
if [[ "$ask" == "Yes" ]]; then
|
||||||
PASSWORD_STORE_DIR="${root}" pass rm --force "${selected_password}"
|
PASSWORD_STORE_DIR="${root}" pass rm --force "${selected_password}"
|
||||||
elif [[ "$ask" == "no" ]]; then
|
elif [[ "$ask" == "No" ]]; then
|
||||||
mainMenu
|
mainMenu
|
||||||
|
elif [[ -z "$ask" ]]; then
|
||||||
|
exit
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
mainMenu
|
mainMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user