MEAS: make sure the pipe is a pipe
This commit is contained in:
parent
be9d9573b8
commit
e2e8c76b70
2 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
|||
exec 2>&1
|
||||
|
||||
if [ ! -p /tmp/json_pipe ] ; then
|
||||
if [ -f /tmp/json_pipe ] ; then
|
||||
rm -f /tmp/json_pipe
|
||||
fi
|
||||
mkfifo /tmp/json_pipe
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue