Obsolete
/
ipcd
Archived
3
0
Fork 0

IPCd: working.

master
Karchnu 2020-11-08 17:51:00 +01:00
parent 5497011a1d
commit cb0594fe5a
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ module IPCd
# - ipcd sends an URI to the network service # - ipcd sends an URI to the network service
# - network service responds with a "OK" message # - network service responds with a "OK" message
if requested_service.scheme != "unix" if requested_service.scheme != "unix"
service.send service_fd, 1.to_u8, requested_service.to_s service.send_now service_fd, 1.to_u8, requested_service.to_s
response = service.read response = service.read
payload = String.new response.payload payload = String.new response.payload
if payload.chomp != "OK" if payload.chomp != "OK"