#!/bin/bash
# returns succesful when wsl interop is ready
shopt -s nullglob
if [ -f /proc/sys/fs/binfmt_misc/WSLInterop ] && \
  sockets=(/run/WSL/*_interop) && [ -S "${sockets[0]:-}" ]; then
	  exit 0
fi
exit 1
