1
0
Fork 0

Cleanup symbolic links from modules dir

timestamps
dump_stack() 2023-02-15 11:38:02 +00:00
parent d59049e531
commit 9910921e30
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 8 additions and 0 deletions

View File

@ -489,6 +489,14 @@ func copyKernels(name string) (err error) {
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
}