1
0

Cleanup symbolic links from modules dir

This commit is contained in:
dump_stack() 2023-02-15 11:38:02 +00:00
parent d59049e531
commit 9910921e30
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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
} }