Skip to content

Commit

Permalink
Skip sleep and warning of 'command_exists docker' when relevant flag …
Browse files Browse the repository at this point in the history
…is set
  • Loading branch information
Tashows committed Nov 28, 2024
1 parent f852aa4 commit d465f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ check_forked() {
do_install() {
echo "# Executing docker install script, commit: $SCRIPT_COMMIT_SHA"

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

0 comments on commit d465f3a

Please sign in to comment.