[debhelper-devel] [debhelper] 01/01: dh_systemd_enable: Correct error message
Niels Thykier
nthykier at moszumanska.debian.org
Tue Oct 10 17:34:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit b386398cbac226fc141dc004de358bb11404b910
Author: Niels Thykier <niels at thykier.net>
Date: Tue Oct 10 17:33:40 2017 +0000
dh_systemd_enable: Correct error message
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_systemd_enable | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_systemd_enable b/dh_systemd_enable
index 7c3f338..bcb5272 100755
--- a/dh_systemd_enable
+++ b/dh_systemd_enable
@@ -120,7 +120,7 @@ init(options => {
sub contains_install_section {
my ($unit_path) = @_;
- open(my $fh, '<', $unit_path) or error("Cannot open($unit_path) for extracting the Also= line(s)");
+ open(my $fh, '<', $unit_path) or error("Cannot open($unit_path) to check for [Install]");
while (my $line = <$fh>) {
chomp($line);
return 1 if $line =~ /^\s*\[Install\]$/i;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list