Sven Wegener 86efc43d0e rc: fix automatic restart with runlevel-specific conf.d files
Commit fc4f15d6cd8e7884f7094e5d3749b01f2d5a448f broke the automatic restart of
services having runlevel-specific conf.d files.

The double dirname() was not a mistake, but the way of getting from the
service script in init.d to the upper directory containing the conf.d
directory. dirname() modifies the argument in-place, so the second call
operated on a modified value. To make it more obvious what is going on,
have the second call operate on the returned value from the first call.

Fixes: fc4f15d ("openrc: fix double-assignment to dir")
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2023-07-26 22:41:42 -05:00
..
2023-05-14 00:50:03 -04:00
2022-04-06 10:51:55 -05:00
2022-04-30 21:32:32 -05:00
2023-02-15 22:51:40 -05:00
2023-02-16 07:54:17 -05:00
2023-01-29 11:32:22 -06:00