Hi Daniel, On Fri, Jun 28, 2019 at 02:26:33PM -0700, Daniel MacDougall wrote: > *# At operator or user level, the output is preceded by an extra blank > line.* > > sudo haproxy -W -S /run/haproxy/master.sock,mode,666,level,*operator* -f > haproxy.cfg > > socat /run/haproxy/master.sock stdio > show cli level > > operator > > @1 show info > > Name: HAProxy > Version: 2.0.1-1ppa1~bionic > Release_date: 2019/06/27 > Nbthread: 8 > Nbproc: 1 > ...
Hi Daniel, That's indeed a bug, and it's a side effect of the implementation of the level parameter of the master CLI. To lower the rights of the master CLI, a command is sent before the command you ask, and that's probably this which returns a \n. For example, if you have a master CLI with level operator: `@1 show info` will send `operator;show info` to the first process. I'll take a look at the code on monday to see if it's easily fixable. Regards, -- William Lallemand