simplify mcConfig existance check
This commit is contained in:
parent
5f0eddf22a
commit
2432139f3d
@ -391,10 +391,7 @@ if [ "$use503" -eq 1 ]; then
|
||||
fi
|
||||
fi
|
||||
# verify mailcow.conf location and extract path
|
||||
if [ -f "$mcConfig" ]; then
|
||||
# strip filename and get path
|
||||
mcPath=${mcConfig%/*/}
|
||||
else
|
||||
if [ ! -f "$mcConfig" ]; then
|
||||
badParam dne "(--mailcow-config)" "$mcConfig"
|
||||
fi
|
||||
# verify docker-compose file exists
|
||||
|
Loading…
Reference in New Issue
Block a user