LibCore: Use ';' to split socket path in SOCKET_TAKEOVER

This allow to use socket path with spaces inside.

Closes #16436.
This commit is contained in:
Federico Guerinoni 2022-12-15 14:16:31 +01:00 committed by Tim Flynn
commit 43ff500a80
Notes: sideshowbarker 2024-07-17 03:07:53 +09:00
3 changed files with 4 additions and 4 deletions

View file

@ -202,7 +202,7 @@ void Service::spawn(int socket_fd)
int new_fd = dup(socket.fd);
if (i != 0)
builder.append(' ');
builder.append(';');
builder.appendff("{}:{}", socket.path, new_fd);
}
}