mirror of
https://github.com/vale981/stream
synced 2025-03-04 17:41:38 -05:00
don't block
This commit is contained in:
parent
79212b3879
commit
2bad331bb8
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
|||
;; The commands are implemented synchronousily.
|
||||
|
||||
(defn- run-systemd-command! [& commands]
|
||||
(let [result (apply sh "systemctl" "--user" "--job-mode=replace" commands)]
|
||||
(let [result (apply sh "systemctl" "--no-block" "--user" "--job-mode=replace" commands)]
|
||||
(if (= (:exit result) 0)
|
||||
true
|
||||
(throw+ {:type ::systemd-error
|
||||
|
|
Loading…
Add table
Reference in a new issue