From 08163c17909b17c2cbddf3f86d356a63cb3b8fe6 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Tue, 24 Aug 2021 14:59:06 -0700 Subject: [PATCH] do not background tasks --- bin/vhost-deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/vhost-deploy.sh b/bin/vhost-deploy.sh index 55970ab..6c05b62 100755 --- a/bin/vhost-deploy.sh +++ b/bin/vhost-deploy.sh @@ -69,9 +69,9 @@ if ! grep -q "^$username:" /etc/passwd; then /usr/local/bin/user-add.sh $username "$password" $userid # if jail option is set then jail user if [[ $jail = true ]]; then - /usr/local/bin/user-jail.sh $username > /dev/null 2>&1 & + /usr/local/bin/user-jail.sh $username > /dev/null 2>&1 fi fi # add virtualhost -/usr/local/bin/vhost-add.sh $virtualhost $username > /dev/null 2>&1 & +/usr/local/bin/vhost-add.sh $virtualhost $username > /dev/null 2>&1