mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-25 21:25:59 +07:00
tmpfiles: kill double slashes in unix socket names, just in case
This commit is contained in:
parent
2588ff0b94
commit
4ff21d8582
@ -147,6 +147,8 @@ static void load_unix_sockets(void) {
|
||||
if (!(s = strdup(p)))
|
||||
goto fail;
|
||||
|
||||
path_kill_slashes(s);
|
||||
|
||||
if ((k = set_put(unix_sockets, s)) < 0) {
|
||||
free(s);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user