mirror of
https://github.com/systemd/systemd.git
synced 2026-07-25 00:35:55 +00:00
systemctl: load unit if needed when isolating
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user