From 468746aa2843ca1ace15207e8d7564110591b656 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 10 Jan 2017 22:48:47 +0100 Subject: [PATCH] conmon: Use the full PID file path And not a hardcoded "pidfile". Signed-off-by: Samuel Ortiz --- conmon/conmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conmon/conmon.c b/conmon/conmon.c index 3ecc8f0d..b24dd064 100644 --- a/conmon/conmon.c +++ b/conmon/conmon.c @@ -200,7 +200,7 @@ int main(int argc, char *argv[]) } /* Read the pid so we can wait for the process to exit */ - g_file_get_contents("pidfile", &contents, NULL, &err); + g_file_get_contents(pid_file, &contents, NULL, &err); if (err) { fprintf(stderr, "Failed to read pidfile: %s\n", err->message); g_error_free(err);