mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-14 04:29:09 +00:00
variable "$default" may be empty (#781)
* variable "$default" may be empty --------- Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
This commit is contained in:
parent
63790f65e9
commit
511374f77f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function YesNoBox {
|
|||
[ "$2" = "no" ] && default="--defaultno"
|
||||
}
|
||||
shift
|
||||
$DIALOG --title "${o[title]}" --yesno "${o[text]}" "$default" 0 0
|
||||
$DIALOG --title "${o[title]}" $default --yesno "${o[text]}" 0 0
|
||||
}
|
||||
|
||||
function DialogBox {
|
||||
|
|
Loading…
Add table
Reference in a new issue