summaryrefslogtreecommitdiff
path: root/cmd/podman/machine/machine.go
diff options
context:
space:
mode:
authorJason T. Greene <jason.greene@redhat.com>2022-05-11 16:42:18 -0500
committerJason T. Greene <jason.greene@redhat.com>2022-05-12 14:41:26 -0500
commit7804f4d2915449ff3f1f8ef2aade1118dd145c69 (patch)
tree15766c4d9f6f5ba6509f85844ee915ac33956439 /cmd/podman/machine/machine.go
parent86314850511af5ab485a49eff9ab02c71736eb47 (diff)
downloadpodman-7804f4d2915449ff3f1f8ef2aade1118dd145c69.tar.gz
podman-7804f4d2915449ff3f1f8ef2aade1118dd145c69.tar.bz2
podman-7804f4d2915449ff3f1f8ef2aade1118dd145c69.zip
Add support for machine events on Windows
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
Diffstat (limited to 'cmd/podman/machine/machine.go')
-rw-r--r--cmd/podman/machine/machine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/machine/machine.go b/cmd/podman/machine/machine.go
index 553f1ef7a..5a8a06b9d 100644
--- a/cmd/podman/machine/machine.go
+++ b/cmd/podman/machine/machine.go
@@ -115,7 +115,7 @@ func resolveEventSock() ([]string, error) {
return err
case info.IsDir():
return nil
- case info.Type() != os.ModeSocket:
+ case !isUnixSocket(info):
return nil
case !re.MatchString(info.Name()):
return nil