🚧 services: fix psd issue

This commit is contained in:
Vladislav Nepogodin 2023-05-05 23:34:13 +04:00
parent 7820fecfa3
commit 93579b53b2
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
1 changed files with 5 additions and 6 deletions

View File

@ -396,8 +396,7 @@ fn load_global_enabled_units() {
G_GLOBAL_UNITS.lock().unwrap().loaded_units.clear();
G_GLOBAL_UNITS.lock().unwrap().enabled_units.clear();
let mut exec_out =
Exec::shell("systemctl --global list-unit-files -q --no-pager | tr -s \" \"")
let mut exec_out = Exec::shell("systemctl --user list-unit-files -q --no-pager | tr -s \" \"")
.stdout(Redirection::Pipe)
.capture()
.unwrap()