diff options
Diffstat (limited to 'chat.c')
-rw-r--r-- | chat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chat.c b/chat.c index 23ad335..e5527ac 100644 --- a/chat.c +++ b/chat.c @@ -145,8 +145,10 @@ static void unveilData(const char *name) { } static void unveilAll(const char *trust, const char *cert, const char *priv) { - dataMkdir(""); - unveilData(""); + if (save || logEnable) { + dataMkdir(""); + unveilData(""); + } if (trust) unveilConfig(trust); if (cert) unveilConfig(cert); if (priv) unveilConfig(priv); |