summaryrefslogtreecommitdiffstats
path: root/src/cfg.c
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-06 13:01:32 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-06 13:01:54 +0200
commitd89d6c6ce749f0d7dd89e3f6fabe2772f01b8b41 (patch)
treef0923de202083d931ce433c47a4f912a8ebc3e5c /src/cfg.c
parent7500700777fa9b66d3bff94c6a0846d7ffdb2365 (diff)
#1004 set default path to repository
This is /opt/opengnsys/images if not specified.
Diffstat (limited to 'src/cfg.c')
-rw-r--r--src/cfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cfg.c b/src/cfg.c
index f4361ec..42da3a5 100644
--- a/src/cfg.c
+++ b/src/cfg.c
@@ -174,8 +174,7 @@ int parse_json_config(const char *filename, struct og_server_cfg *cfg)
if ((flags & OG_SERVER_CFG_REST) &&
(flags & OG_SERVER_CFG_DB) &&
- (flags & OG_SERVER_CFG_WOL) &&
- (flags & OG_SERVER_CFG_REPO)) {
+ (flags & OG_SERVER_CFG_WOL)) {
ret = 0;
} else {
syslog(LOG_ERR, "Missing attributes in json file");