Swap ok/cancel to make exit the default value
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user