mirror of
https://github.com/systemd/systemd.git
synced 2025-02-23 13:57:33 +03:00
systemctl: load unit if needed when isolating
This commit is contained in:
parent
214b1eb170
commit
4e8e228865
@ -222,7 +222,7 @@ int main (string[] args) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
ObjectPath p = manager.get_unit(args[2]);
|
||||
ObjectPath p = manager.load_unit(args[2]);
|
||||
|
||||
Unit u = bus.get_object(
|
||||
"org.freedesktop.systemd1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user