]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-node: introduce node_remove_symlink() 34644/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 6 Oct 2024 05:41:23 +0000 (14:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 7 Oct 2024 00:56:26 +0000 (09:56 +0900)
commit96067f7669393dccab1af827c987d0d429a3e384
treeae63a75b787d8517bfd5f46114172ca952c9bfea
parent2a41b4b0f450f77b5cc95dd3bbb55e1cbf0da9cc
udev-node: introduce node_remove_symlink()

Also
- make the failure propagated,
- remove /dev/block or /dev/char if empty.

Hopefully, no effective functionality changed. Just refactoring.
src/udev/udev-node.c