🚧 services: fix psd issue
This commit is contained in:
parent
7820fecfa3
commit
93579b53b2
|
@ -396,8 +396,7 @@ fn load_global_enabled_units() {
|
||||||
G_GLOBAL_UNITS.lock().unwrap().loaded_units.clear();
|
G_GLOBAL_UNITS.lock().unwrap().loaded_units.clear();
|
||||||
G_GLOBAL_UNITS.lock().unwrap().enabled_units.clear();
|
G_GLOBAL_UNITS.lock().unwrap().enabled_units.clear();
|
||||||
|
|
||||||
let mut exec_out =
|
let mut exec_out = Exec::shell("systemctl --user list-unit-files -q --no-pager | tr -s \" \"")
|
||||||
Exec::shell("systemctl --global list-unit-files -q --no-pager | tr -s \" \"")
|
|
||||||
.stdout(Redirection::Pipe)
|
.stdout(Redirection::Pipe)
|
||||||
.capture()
|
.capture()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
Loading…
Reference in New Issue