Swap ok/cancel to make exit the default value

This commit is contained in:
2017-10-09 21:49:43 +02:00
parent 2b6421465f
commit a9163cfe04

View File

@@ -182,8 +182,10 @@ function unmount {
# Should another SSHFS storage be mounted?
function quitquestion {
zenity --question \
--text="Mount another SSHFS storage?"
if [ "$?" = "1" ]; then
--text="Mount another SSHFS storage?" \
--ok-label="No and exit" \
--cancel-label="Yes"
if [ "$?" = "0" ]; then
exit 0
fi
}