mirror of
https://github.com/rancher/os.git
synced 2025-07-31 22:47:16 +00:00
Clean up udevd zombie process
This commit is contained in:
parent
50e72e629b
commit
3c998bef45
@ -17,6 +17,7 @@ func udevSettleAction(c *cli.Context) {
|
||||
|
||||
func UdevSettle() error {
|
||||
cmd := exec.Command("udevd", "--daemon")
|
||||
defer exec.Command("killall", "udevd").Run()
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
if err := cmd.Run(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user