qrexec: do not leak FDs to logger process
This would prevent qrexec from detecting EOF.
This commit is contained in:
parent
a86d980ff4
commit
0f75603d6d
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkfifo /tmp/qrexec-rpc-stderr.$$
|
||||
logger -t "$1-$2" -f /tmp/qrexec-rpc-stderr.$$ &
|
||||
logger -t "$1-$2" -f /tmp/qrexec-rpc-stderr.$$ >/dev/null 2>&1 </dev/null &
|
||||
exec 2>/tmp/qrexec-rpc-stderr.$$
|
||||
rm -f /tmp/qrexec-rpc-stderr.$$
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user