On failures wait for a keypress

This commit is contained in:
Bob Mottram 2016-12-04 16:23:21 +00:00
parent a3581a4ead
commit 3c0200359a
2 changed files with 6 additions and 1 deletions

View File

@ -383,6 +383,7 @@ function install_postactiv_main {
chmod a+w /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/file
chown -R www-data:www-data /var/www/$POSTACTIV_DOMAIN_NAME/htdocs
chmod +x /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/scripts/maildaemon.php
chmod 777 /var/www/$POSTACTIV_DOMAIN_NAME/htdocs/extlib/HTMLPurifier/HTMLPurifier/DefinitionCache/Serializer.php
function_check postactiv_create_database
postactiv_create_database

View File

@ -1973,7 +1973,11 @@ function menu_top_level {
4) show_firewall;;
5) reset_tripwire;;
6) menu_app_settings;;
7) ${PROJECT_NAME}-addremove;;
7) ${PROJECT_NAME}-addremove
if [ ! "$?" = "0" ]; then
any_key
fi
;;
8) logging_on_off;;
9) ping_enable_disable;;
10) menu_users;;