aboutsummaryrefslogtreecommitdiff
path: root/gmid.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-06-08 13:56:09 +0000
committerOmar Polo <op@omarpolo.com>2023-06-08 13:56:09 +0000
commitf1f13cb7dc588c90f14efcb513ff177d2798194b (patch)
treedb8327287f45918fd390403cf18c507e766578e1 /gmid.c
parent9b1750057ca036835caaaad26332b7fc88ed196f (diff)
absolutify the path to the pid file
Diffstat (limited to 'gmid.c')
-rw-r--r--gmid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gmid.c b/gmid.c
index 200d6a6..69f4e7a 100644
--- a/gmid.c
+++ b/gmid.c
@@ -279,7 +279,7 @@ main(int argc, char **argv)
conftest++;
break;
case 'P':
- pidfile = optarg;
+ pidfile = absolutify_path(optarg);
break;
case 'V':
puts("Version: " GMID_STRING);