Browse Source

Swap ok/cancel to make exit the default value

master
mxmehl 4 years ago
parent
commit
a9163cfe04
Signed by: mxmehl GPG Key ID: 2704E4AB371E2E92
  1. 6
      mnt-sftp.sh

6
mnt-sftp.sh

@ -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
}

Loading…
Cancel
Save