mirror of
https://github.com/rancher/os.git
synced 2025-08-31 06:11:12 +00:00
Clean up udevd zombie process
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user