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?
|
# 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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user