]> git.ipfire.org Git - thirdparty/systemd.git/commit
rpm: avoid hiding errors from systemd commands 12048/head
authorJan Engelhardt <jengelh@inai.de>
Wed, 20 Mar 2019 09:58:41 +0000 (10:58 +0100)
committerJan Engelhardt <jengelh@inai.de>
Fri, 22 Mar 2019 19:54:59 +0000 (20:54 +0100)
commitb0ca72658523957be421b86902eb620ccdc1d401
treecf8daf394445b47dade33aeb323d106ba37a48ba
parent085f826676a69bcce012023ce7296df9db70711c
rpm: avoid hiding errors from systemd commands

Humans are susceptible to making orthographic errors sometimes. A
misspelled "%systemd_post caek.service" would go unnoticed due to all
output from systemctl being discarded if and when %post runs.

To alleviate this, cease hiding outputs. Then, to account for the
potential absence of systemd from the system, add file checks so as
to not generate a "command not found" error.
src/core/macros.systemd.in