The problem is that the status command returns output in a special format, that was not being parsed correctly. This fix is a bit ugly, but is the only way (afaik) to cleanly handle the status command so that its output can be used.
The problem is that the status command returns output in a special format, that was not being parsed correctly. This fix is a bit ugly, but is the only way (afaik) to cleanly handle the status command so that its output can be used.