[systemd-devel] [PATCH] systemctl-completion: always invoke with --no-legend

Michal Schmidt mschmidt at redhat.com
Wed Oct 19 00:28:46 PDT 2011


On Tue, 11 Oct 2011 20:56:53 -0400 Dave Reisner wrote:
> In the case of completion for the 'restart' verb, passing the invalid
> unit name (the colums header) causes completion to cease functioning
> entirely, with the error:
> 
>   Failed to issue method call: Unit name UNIT is not valid.
> 
> This adds a small wrapper function for systemctl which can have common
> options added to it.

Thanks! I applied it.

Michal


More information about the systemd-devel mailing list