Skip to content

Commit

Permalink
Fix some error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Aug 23, 2017
1 parent c5a2868 commit 41d1296
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ if [ "$mode" = 'full' ]; then
elif [ "$mode" = 'minimal' ]; then
if [ "$bundle" = 'LAMP' ]; then
rhgroup="'Virtualmin LAMP Stack Minimal'"
debdeps="postfix php*-fpm virtualmin-lamp-stack-minimal"
ubudeps="postfix php*-fpm virtualmin-lamp-stack-minimal"
debdeps="postfix virtualmin-lamp-stack-minimal"
ubudeps="postfix virtualmin-lamp-stack-minimal"
elif [ "$bundle" = 'LEMP' ]; then
rhgroup="'Virtualmin LEMP Stack Minimal'"
debdeps="postfix php*-fpm virtualmin-lemp-stack-minimal"
Expand Down Expand Up @@ -875,11 +875,11 @@ if [ "$mode" = "minimal" ]; then
bundle="Mini${bundle}"
fi
virtualmin-config-system --bundle "$bundle"
config_system_pid=$!
if [ "$?" != "0" ]; then
errorlist="${errorlist} ${YELLOW}${NORMAL} Postinstall configuration returned an error.\n"
errors=$((errors + 1))
fi
config_system_pid=$!

# Functions that are used in the OS specific modifications section
disable_selinux () {
Expand Down

0 comments on commit 41d1296

Please sign in to comment.