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? # Should another SSHFS storage be mounted?
function quitquestion { function quitquestion {
zenity --question \ zenity --question \
--text="Mount another SSHFS storage?" --text="Mount another SSHFS storage?" \
if [ "$?" = "1" ]; then --ok-label="No and exit" \
--cancel-label="Yes"
if [ "$?" = "0" ]; then
exit 0 exit 0
fi fi
} }