Skip to content

Commit

Permalink
Update build/deb_rpm/v2-jf/build-scripts/pack.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itzhak <[email protected]>
  • Loading branch information
sverdlov93 and yahavi authored Sep 26, 2023
1 parent 0329d80 commit 29ca950
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/deb_rpm/v2-jf/build-scripts/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 29ca950

Please sign in to comment.