Commit Diff


commit - 9b1750057ca036835caaaad26332b7fc88ed196f
commit + f1f13cb7dc588c90f14efcb513ff177d2798194b
blob - 200d6a608eebbd062ba8fda6a218f34f25a85398
blob + 69f4e7a077acece41a764edc7ca912b8fbebc88e
--- gmid.c
+++ 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);