We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d11dc8 commit 03a8101Copy full SHA for 03a8101
src/docker-in-docker/install.sh
@@ -312,7 +312,7 @@ case ${ADJUSTED_ID} in
312
esac
313
314
# Swap to legacy iptables for compatibility (Debian only)
315
-if [ "${ADJUSTED_ID}" = "debian" ] type iptables-legacy > /dev/null 2>&1; then
+if [ "${ADJUSTED_ID}" = "debian" ] && type iptables-legacy > /dev/null 2>&1; then
316
update-alternatives --set iptables /usr/sbin/iptables-legacy
317
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
318
fi
0 commit comments