rpcbind/rpcbind-0.2.1-run.patch

13 lines
426 B
Diff
Raw Normal View History

diff -Nru rpcbind-0.2.1.orig/src/rpcbind.c rpcbind-0.2.1/src/rpcbind.c
--- rpcbind-0.2.1.orig/src/rpcbind.c 2013-08-19 14:49:34.000000000 +0000
+++ rpcbind-0.2.1/src/rpcbind.c 2014-05-10 10:01:50.952301477 +0000
@@ -93,7 +93,7 @@
/* who to suid to if -s is given */
#define RUN_AS "daemon"
-#define RPCBINDDLOCK "/var/run/rpcbind.lock"
+#define RPCBINDDLOCK "/run/rpcbind.lock"
int runasdaemon = 0;
int insecure = 0;