Joachim Wiberg
9bfe54f959
pidfile(): ensure prefix path ends with slash
...
For some builds using Buildroot, the system default _PATH_VARRUN did not
include a trailing slas '/', which cause the pidfile() function to fail.
Example:
pidfile("arg") => "/var/runarg.pid"
Since the __pidfile_path can be overridden we add a check if that prefix
path ends with '/', if not we add one in the path composition.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com >
2024-03-25 05:23:41 +01:00
..
2020-02-22 13:57:39 +01:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-11-28 19:20:53 +01:00
2023-04-08 05:55:48 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2023-06-11 12:18:45 +02:00
2022-01-26 02:11:08 +08:00
2023-06-11 12:16:58 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-11-28 19:09:55 +01:00
2023-10-15 10:21:30 +02:00
2023-09-17 12:00:04 +02:00
2021-10-03 19:08:40 +02:00
2024-03-25 05:23:41 +01:00
2021-10-03 19:08:40 +02:00
2023-06-11 12:03:24 +02:00
2023-09-17 12:47:59 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 22:30:20 +02:00
2021-10-03 19:08:40 +02:00
2023-04-02 22:17:09 +02:00
2023-09-17 11:00:09 +02:00
2021-11-28 19:20:53 +01:00
2021-10-03 22:30:20 +02:00
2021-10-03 22:30:20 +02:00
2021-11-28 19:20:53 +01:00
2021-10-03 22:30:20 +02:00
2021-11-28 19:20:53 +01:00
2021-11-28 19:20:53 +01:00
2021-10-03 22:30:20 +02:00
2021-10-03 22:30:20 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-10-06 18:05:45 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 22:30:20 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00
2021-10-03 19:08:40 +02:00