]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: suppress warning about missing /proc/ when --no-warn
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 7 Dec 2022 04:59:01 +0000 (13:59 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Jan 2023 02:50:41 +0000 (11:50 +0900)
commit91dfb74ef5e38625dada2c2a6ae30152e64c3f5b
tree369045e3c8d026dfd2eae101d11daa432551819a
parentc24b0bd1df41f9aa5607c333a223797c092995ad
systemctl: suppress warning about missing /proc/ when --no-warn

Follow-up for 0f958c8d4fc13ed1c1af928b2a7d91d31c7576eb.

systemctl is called many times by dnf or so, and missing /proc/ is not
a user's fault, but package manager's issue.
With this commit, we can suppress the warning by updating rpm macros if
necessary.
man/systemctl.xml
src/systemctl/systemctl.c