uxc: move mountpoint of persistent config to /var/run/uxc
authorDaniel Golle <daniel@makrotopia.org>
Mon, 30 Aug 2021 19:03:23 +0000 (20:03 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 30 Aug 2021 19:24:13 +0000 (20:24 +0100)
Using /var/state/uxc turns out to be not the smartest thing to do, use
/var/run/uxc instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
uxc.c

diff --git a/uxc.c b/uxc.c
index 3af4fa99bfcd87508753137aa7b23bfee71b8b42..50262a6db2ffb67789771ac88c2d737149836183 100644 (file)
--- a/uxc.c
+++ b/uxc.c
@@ -38,7 +38,7 @@
 #define UXC_VERSION "0.2"
 #define OCI_VERSION_STRING "1.0.2"
 #define UXC_ETC_CONFDIR "/etc/uxc"
-#define UXC_VOL_CONFDIR "/var/state/uxc"
+#define UXC_VOL_CONFDIR "/var/run/uxc"
 
 static bool verbose = false;
 static char *confdir = UXC_ETC_CONFDIR;