Fifo: write line with \n
This is needed for eg. `read` to trigger
This commit is contained in:
parent
ff8a91599a
commit
11e5507ec9
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def fifo_hooks(payload, hook_name, hook_conf):
|
|||
"""Fifo web handler -- write 1 to a unix fifo"""
|
||||
try:
|
||||
with open(hook_conf["fifo_path"], "w") as fifo:
|
||||
fifo.write("1")
|
||||
fifo.write("1\n")
|
||||
except FileNotFoundError:
|
||||
return "No such fifo", 500
|
||||
except PermissionError:
|
||||
|
|
Loading…
Reference in a new issue