Skip to content

Commit d465f3a

Browse files
committed
Skip sleep and warning of 'command_exists docker' when relevant flag is set
1 parent f852aa4 commit d465f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ check_forked() {
359359
do_install() {
360360
echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA"
361361

362-
if command_exists docker; then
362+
if [ -z "$SKIP_DOCKER_EXISTS_WARN" ] && command_exists docker; then
363363
cat >&2 <<-'EOF'
364364
Warning: the "docker" command appears to already exist on this system.
365365

0 commit comments

Comments
 (0)