gomi wrote: 
> I think the problem is because I use -x so  TCPLOG is not set, we don't
> get in the test  if [[ -n TCPLOG ]] and DTRST is never reset, so we keep
> logging
> 
> Right-o. No, it is not fixed in 0.5.1. And I was hoping to not do an
> update today. But here I am, adding a real log file. I am working on
> keeping the log file to a known reasonable size, and this is not done.
> But for now, you can add he following - untested - code:
> > 
Code:
--------------------
  >   > 
  > if [[ -n TCPLOG ]]; then
  > ... not shown ...
  > else                # 0.5.2: handle no TCPLOG case: stop logging to the 
error log!
  > DTRST=                      
  > DTEND=
  > fi
  > 
--------------------
> > 
> 
> Looking forward to yet another release sooner rather than later.
> 
> BTW, another way to handle the situation is to let the TCP send fail
> by removing the -x option. That way, the control is from the desktop,
> running or not a server, not the radio. But the code had a horrible
> bug with the -x option, one out of many, many to be found. Thank you!


------------------------------------------------------------------------
POMdev's Profile: http://forums.slimdevices.com/member.php?userid=70558
View this thread: http://forums.slimdevices.com/showthread.php?t=111663

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to