mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +01:00
7 lines
137 B
Bash
7 lines
137 B
Bash
|
fifo="$(get_fifo "$1")"
|
||
|
|
||
|
[ -e "$fifo" ] || exit 1
|
||
|
|
||
|
# sending zero byte tells listener to stop
|
||
|
fifo_open "$fifo" && printf '\0' > "$fifo"
|