Commit caca6dec authored by Axel Beckert's avatar Axel Beckert

checks/systemd.pm: Fix "systemctl --daemon-reload" vs "systemctl daemon-reload"

parent c8451fcd
Pipeline #48676 passed with stages
in 85 minutes and 36 seconds
......@@ -419,7 +419,7 @@ sub check_maintainer_scripts {
next if substr($_, 0, $-[0]) =~ /#/;
# systemctl should not be called in maintainer scripts at all,
# except for systemctl --daemon-reload calls.
# except for systemctl daemon-reload calls.
if (m/^(?:.+;)?\s*systemctl\b/ && !/daemon-reload/) {
tag 'maintainer-script-calls-systemctl', "$file:$.";
}
......
......@@ -2,6 +2,10 @@ lintian (2.15.0+git) UNRELEASED; urgency=medium
* WIP
[ Axel Beckert ]
* checks/systemd.pm: Fix comment which referred to "systemctl
--daemon-reload" instead of just "systemctl daemon-reload".
-- Chris Lamb <lamby@debian.org> Sun, 26 May 2019 15:32:47 +0100
lintian (2.15.0) unstable; urgency=medium
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment