Don't display a message if root it's not defined
This commit is contained in:
parent
485868e23e
commit
7104e0aac9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue