mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03: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 New Issue
Block a user