do not background tasks

This commit is contained in:
Matthew Saunders Brown 2021-08-24 14:59:06 -07:00
parent 4cb36d5bd2
commit 08163c1790

View File

@ -69,9 +69,9 @@ if ! grep -q "^$username:" /etc/passwd; then
/usr/local/bin/user-add.sh $username "$password" $userid /usr/local/bin/user-add.sh $username "$password" $userid
# if jail option is set then jail user # if jail option is set then jail user
if [[ $jail = true ]]; then 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
fi fi
# add virtualhost # 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