mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Disable config file copy for Win32 platform.
This commit is contained in:
parent
1ee41f9f97
commit
c2a296ae98
@ -30,7 +30,6 @@
|
||||
#include "csync_log.h"
|
||||
|
||||
static int _csync_config_copy_default (const char *config) {
|
||||
#ifndef _WIN32
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_TRACE, "Copy %s/config/%s to %s", SYSCONFDIR,
|
||||
CSYNC_CONF_FILE, config);
|
||||
if (c_copy(SYSCONFDIR "/csync/" CSYNC_CONF_FILE, config, 0644) < 0) {
|
||||
@ -38,7 +37,6 @@ static int _csync_config_copy_default (const char *config) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user