Forráskód Böngészése

Fix install failure when busybox can't be downloaded

Whether or not the "busybox" image downloads and runs properly at the end of the build, we don't want to have the script return a failing exit code, especially since at that point, Docker is successfully installed, and we're just tooting our own horn for good measure.
Tianon Gravi 11 éve
szülő
commit
fc197188d7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      hack/install.sh

+ 1 - 1
hack/install.sh

@@ -116,7 +116,7 @@ case "$lsb_dist" in
 			(
 			(
 				set -x
 				set -x
 				$sh_c 'docker run busybox echo "Docker has been successfully installed!"'
 				$sh_c 'docker run busybox echo "Docker has been successfully installed!"'
-			)
+			) || true
 		fi
 		fi
 		exit 0
 		exit 0
 		;;
 		;;