podman compatibility
This commit is contained in:
parent
92706c68fb
commit
6e1216201e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user