mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-02-25 21:29:54 +07:00
systemctl: load unit if necessary
This commit is contained in:
parent
e11dc4a213
commit
b05a4429e0
@ -196,7 +196,7 @@ int main (string[] args) {
|
||||
|
||||
for (int i = 2; i < args.length; i++) {
|
||||
|
||||
ObjectPath p = manager.get_unit(args[i]);
|
||||
ObjectPath p = manager.load_unit(args[i]);
|
||||
|
||||
Unit u = bus.get_object(
|
||||
"org.freedesktop.systemd1",
|
||||
|
Loading…
Reference in New Issue
Block a user