# HG changeset patch # User Matti Hamalainen # Date 1352761618 -7200 # Node ID e32881ece84269d24225cb18e8841c83399bb585 # Parent 02244c553741c95dd5d42042e9763ae4e442d5fa Only try to create log directories if logging is enabled. diff -r 02244c553741 -r e32881ece842 main.c --- a/main.c Tue Nov 13 01:06:26 2012 +0200 +++ b/main.c Tue Nov 13 01:06:58 2012 +0200 @@ -1864,6 +1864,7 @@ setHomeDir, SET_DIR_SEPARATOR, SET_LOG_DIR, SET_DIR_SEPARATOR); } + if (optLogEnable) { BOOL isDir, isWritable, isReadable; if (nn_stat_path(optLogPath, &isDir, &isWritable, &isReadable))