From 29ca95038dce7a2067b3281108212c8f647bc1b8 Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Tue, 26 Sep 2023 12:17:22 +0300 Subject: [PATCH] Update build/deb_rpm/v2-jf/build-scripts/pack.sh Co-authored-by: Yahav Itzhak --- build/deb_rpm/v2-jf/build-scripts/pack.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/deb_rpm/v2-jf/build-scripts/pack.sh b/build/deb_rpm/v2-jf/build-scripts/pack.sh index 06797775c..6632502d5 100755 --- a/build/deb_rpm/v2-jf/build-scripts/pack.sh +++ b/build/deb_rpm/v2-jf/build-scripts/pack.sh @@ -46,11 +46,11 @@ errorExit() { } checkDockerAccess() { -if docker -v > /dev/null 2>&1 && docker ps > /dev/null 2>&1; then - log "Docker is available" "DEBUG" -else - errorExit "Must run as a user that can execute docker commands" -fi + if docker -v > /dev/null 2>&1 && docker ps > /dev/null 2>&1; then + log "Docker is available" "DEBUG" + else + errorExit "Must run as a user that can execute docker commands" + fi } exitWithUsage(){