mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03:00
68c4f6d406
By the time __systemctl is called, --user/--system are shifted out of `words' by _arguments. This patch queries the array sooner. In the case that both --user and --system are on the line when compsys runs, _sys_service_mgr is set to the latter. Which is seemingly how systemctl behaves. If neither are on the line, --system is set; for system services to be completed. |
||
---|---|---|
.. | ||
bash | ||
zsh | ||
Makefile |