Unverified Commit 63632433 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Use the engine variable (#878)

parent 8b1899c7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -597,8 +597,8 @@ checkOS() {
  local if="macvlan"
  kernel=$(uname -a)

  [[ "${kernel,,}" == *"darwin"* ]] && os="Docker Desktop for macOS"
  [[ "${kernel,,}" == *"microsoft"* ]] && os="Docker Desktop for Windows"
  [[ "${kernel,,}" == *"darwin"* ]] && os="$ENGINE Desktop for macOS"
  [[ "${kernel,,}" == *"microsoft"* ]] && os="$ENGINE Desktop for Windows"

  if [[ "$DHCP" == [Yy1]* ]]; then
    if="macvtap"