list_del(&name_loop->node);
free(name_loop);
}
+ list_for_each_entry_safe(name_loop, temp_loop, &udev->run_list, node) {
+ list_del(&name_loop->node);
+ free(name_loop);
+ }
}
int string_is_true(const char *str)
close(devnull);
}
retval = execv(arg, argv);
- err("exec of child failed");
+ err("exec of child '%s' failed", command);
_exit(1);
case -1:
- dbg("fork of child failed");
+ dbg("fork of child '%s' failed", command);
break;
return -1;
default: