[pkg-dhcp-devel] Bug#771530: sed expression in init script wrong

Marc Haber mh+debian-packages at zugschlus.de
Sun Nov 30 14:24:52 UTC 2014


Package: isc-dhcp-server
Version: 4.3.1-5
Severity: minor

Hi,

the sed expression that parses the pid file name from the config file
is wrong:

's/^[ \t]*pid-file-name[ \t]*"(.*)"[ \t]*;.*$/\1/p'

should be

's/^[ \t]*pid-file-name[ \t]*"\(.*\)"[ \t]*;.*$/\1/p'

instead or the regexp will never match.

Greetings
Marc



More information about the pkg-dhcp-devel mailing list