aboutsummaryrefslogtreecommitdiff
path: root/src/openrc-pam
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-07-20 19:28:27 +0200
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2024-07-20 19:28:27 +0200
commit0fb6b73add5ec595b314fb0c7c98206fb5b05649 (patch)
tree73aeba11d3705ba7c0c3701e3be7095ed1c97185 /src/openrc-pam
parente29e28447041892ea025457d94746b8a9ba9d7e2 (diff)
openrc-pam: use full path to mark the service
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/openrc-pam')
-rw-r--r--src/openrc-pam/openrc-pam.c2
1 files changed, 1 insertions, 1 deletions
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 {