don't block

This commit is contained in:
Valentin Boettcher 2020-08-02 14:48:40 +02:00
parent 79212b3879
commit 2bad331bb8

View file

@ -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