Don't display a message if root it's not defined

This commit is contained in:
Lutchy Horace 2021-03-17 18:12:14 -04:00
parent 485868e23e
commit 7104e0aac9
1 changed files with 1 additions and 1 deletions

View File

@ -94,8 +94,8 @@ if [[ $_domain = false ]]; then
err "You must set domain"
fi
echo -n "Checking if $_root exists?"
if test -n "$_root"; then
echo -n "Checking if $_root exists?"
if ! test -d $_root; then
echo " Creating..."
mkdir -p $_root