diff options
author | Niels Thykier <niels@thykier.net> | 2017-10-10 17:33:40 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-10-10 17:33:40 +0000 |
commit | b386398cbac226fc141dc004de358bb11404b910 (patch) | |
tree | 8670ee10237eb319e3f2daf03068036b8d7bd1b8 | |
parent | 841170155bec2f60a2c4bcc03346bc296ff7525f (diff) | |
download | debhelper-b386398cbac226fc141dc004de358bb11404b910.tar.gz |
dh_systemd_enable: Correct error message
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-x | dh_systemd_enable | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_systemd_enable b/dh_systemd_enable index 7c3f3385..bcb52728 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; |