From 0fb6b73add5ec595b314fb0c7c98206fb5b05649 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Sat, 20 Jul 2024 19:28:27 +0200 Subject: openrc-pam: use full path to mark the service Signed-off-by: Anna (navi) Figueiredo Gomes --- src/openrc-pam/openrc-pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrc-pam/openrc-pam.c b/src/openrc-pam/openrc-pam.c index 9fa33d2f..0cd174af 100644 --- a/src/openrc-pam/openrc-pam.c +++ b/src/openrc-pam/openrc-pam.c @@ -71,7 +71,7 @@ exec_openrc(pam_handle_t *pamh, bool opening) if (opening) { if (count == 0) { pid = service_start(file); - rc_service_mark(svc_name, RC_SERVICE_HOTPLUGGED); + rc_service_mark(file, RC_SERVICE_HOTPLUGGED); } count++; } else { -- cgit v1.2.3