diff options
author | Michael Biebl <biebl@debian.org> | 2013-03-06 23:24:31 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2013-03-06 23:24:31 +0100 |
commit | 11dac832c75cbdd0015fb0417b9877396ea57f6f (patch) | |
tree | 9e9dc5b69f5bcb8c076140ba9ec86089e019b825 /src/journal/sd-journal.c | |
parent | 9304ef91c563263cfd914fb32b6ca118bf60d60e (diff) |
service: sysv - properly handle init scripts with .sh suffix
Dropping the distribution specific #ifdefs in
88516c0c952b9502e8ef1d6a1481af61b0fb422d broke the .sh suffix stripping
since we now always used the else clause of the rc. check.
We eventually want to drop the rc. prefix stripping, but for now we
assume that no sysv init script uses both an rc. prefix and .sh suffix,
so make the check for the .sh suffix and rc. prefix mutually exclusive.
Diffstat (limited to 'src/journal/sd-journal.c')
0 files changed, 0 insertions, 0 deletions