Cleanup symbolic links from modules dir
This commit is contained in:
parent
d59049e531
commit
9910921e30
@ -489,6 +489,14 @@ func copyKernels(name string) (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmd = exec.Command("find", "~/.out-of-tree/kernels/modules",
|
||||||
|
"-type", "l", "-delete")
|
||||||
|
rawOutput, err = cmd.CombinedOutput()
|
||||||
|
if err != nil {
|
||||||
|
log.Println(string(rawOutput))
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user