mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
zsh: suppress aliases and shell functions when calling systemctl
This prevents any errors in case the user had aliased some arguments following systemctl.
This commit is contained in:
parent
3b4c6009c0
commit
d0fc94a192
|
@ -153,7 +153,7 @@
|
|||
# @todo _systemd-run has a helper with the same name, so we must redefine
|
||||
__systemctl()
|
||||
{
|
||||
systemctl $_sys_service_mgr --full --legend=no --no-pager --plain "$@" 2>/dev/null
|
||||
command systemctl $_sys_service_mgr --full --legend=no --no-pager --plain "$@" 2>/dev/null
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue