X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Feasydialog.sh;h=0113d9cb18885b997916996245d14d67064318df;hb=7e82705e20a31d3bbcf30794386294434e34e5c2;hp=bb7e8e3a8f97fc9aa2494916269b5cf09846312a;hpb=386fa7585060312c7ecd399c3b9f0e2bc73a02cd;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/easydialog.sh b/handlers/easydialog.sh index bb7e8e3..0113d9c 100644 --- a/handlers/easydialog.sh +++ b/handlers/easydialog.sh @@ -33,7 +33,7 @@ setDimension() { booleanBox() { $DIALOG --backtitle "$BACKTITLE" --title "$1" \ - --yesno "$2" $HEIGHT $WIDTH + `[ "$3" == no ] && echo '--defaultno'` --yesno "$2" $HEIGHT $WIDTH } msgBox() {