1
0

podman compatibility

This commit is contained in:
dump_stack() 2023-01-29 20:41:33 +00:00
parent 92706c68fb
commit 6e1216201e
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -343,7 +343,10 @@ func copyKernels(name string) (err error) {
what := r.FindAll(rawOutput, -1)
for _, w := range what {
containerID = strings.Fields(string(w))[0]
break
_, err = exec.Command("which", "podman").CombinedOutput()
if err != nil {
break
}
}
usr, err := user.Current()