openrc/src
Sven Wegener 86efc43d0e rc: fix automatic restart with runlevel-specific conf.d files
Commit fc4f15d6cd 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
..
checkpath checkpath: missing includes from IWYU 2023-01-29 11:32:22 -06:00
einfo einfo: fix vewend applet args 2023-05-14 00:50:03 -04:00
fstabinfo fstabinfo: deal with EINTR in waitpid call 2023-04-24 19:18:18 -05:00
halt
is_newer_than is_newer_than: missing includes from IWYU 2023-01-29 11:32:22 -06:00
is_older_than is_older_than: missing includes from IWYU 2023-01-29 11:32:22 -06:00
kill_all kill_all: missing includes from IWYU 2023-01-29 11:32:22 -06:00
libeinfo einfo.h: fix EINFO_RESTRICT macro usage 2023-04-23 16:11:15 -04:00
librc librc: allow overriding rc_interactive on kernel command line 2023-05-10 21:39:25 -04:00
mark_service mark_service: missing includes from IWYU 2023-01-29 11:32:22 -06:00
mountinfo mountinfo: missing includes from IWYU 2023-01-29 11:32:22 -06:00
on_ac_power
openrc rc: fix automatic restart with runlevel-specific conf.d files 2023-07-26 22:41:42 -05:00
openrc-init openrc-init: missing includes from IWYU 2023-01-29 11:32:22 -06:00
openrc-run openrc-run: fix rc_parallel race in svc_exec 2023-04-24 22:06:53 -05:00
openrc-shutdown Rename attribute macros to namespaced RC_* 2023-04-19 16:44:51 -04:00
poweroff
rc-abort rc-abort: missing includes from IWYU 2023-01-29 11:32:22 -06:00
rc-depend rc-depend: missing includes from IWYU 2023-01-29 11:32:22 -06:00
rc-service rc-service: missing includes from IWYU 2023-01-29 11:32:22 -06:00
rc-sstat
rc-status rc-status: comment consistecy 2023-02-15 22:51:40 -05:00
rc-update rc-update: missing includes from IWYU 2023-01-29 11:32:22 -06:00
reboot
seedrng seedrng: fix copyright year 2023-02-16 07:54:17 -05:00
service service: missing includes from IWYU 2023-01-29 11:32:22 -06:00
shared openrc-run: silence lock failures with --no-deps 2023-04-24 22:06:41 -05:00
shell_var shell_var: missing includes from IWYU 2023-01-29 11:32:22 -06:00
shutdown
start-stop-daemon Rename attribute macros to namespaced RC_* 2023-04-19 16:44:51 -04:00
supervise-daemon Rename attribute macros to namespaced RC_* 2023-04-19 16:44:51 -04:00
swclock swclock: missing includes from IWYU 2023-01-29 11:32:22 -06:00
value value: missing includes from IWYU 2023-01-29 11:32:22 -06:00
meson.build