diff options
author | szaimen <szaimen@e.mail.de> | 2020-09-04 00:15:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 00:15:42 +0300 |
commit | 80dc7b6293f260f6261a6757ead1cfe717fa5ed6 (patch) | |
tree | b68160380e4b6d485125461b815c73ceecdfdb28 /apps/onlyoffice_integrated.sh | |
parent | 2ac3755ad10356ea17dc3c49e0aa1a49d2de8a31 (diff) |
substitute ask_yes_or_no through yesno_box (#1401)
Diffstat (limited to 'apps/onlyoffice_integrated.sh')
-rw-r--r-- | apps/onlyoffice_integrated.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/onlyoffice_integrated.sh b/apps/onlyoffice_integrated.sh index 4e956f40..aca3511d 100644 --- a/apps/onlyoffice_integrated.sh +++ b/apps/onlyoffice_integrated.sh @@ -171,7 +171,7 @@ fi if [ "$(apache2ctl -M | grep evasive)" != "" ] then msg_box "We noticed that 'mod_evasive' is installed which is the DDOS protection for webservices. It has comptibility issues with OnlyOffice and you can now choose to disable it." - if [[ "no" == $(ask_yes_or_no "Do you want to disable DDOS protection?") ]] + if ! yesno_box "Do you want to disable DDOS protection?" then print_text_in_color "$ICyan" "Keeping mod_evasive active." else |