Fail in prereqs if compose does not exist

This commit is contained in:
Martin Lablans 2022-10-28 10:17:14 +02:00
parent 2aef5f29c3
commit 6293dc65f0
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
source lib/functions.sh
detectCompose
if ! id "bridgehead" &>/dev/null; then
log ERROR "User bridgehead does not exist. Please consult readme for installation."
exit 1