Skip to content
Snippets Groups Projects
Commit a2c0c5b1 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

[dnssec] KASP dir, small cleanups in zone

parent f3610dc0
No related branches found
No related tags found
No related merge requests found
......@@ -328,7 +328,10 @@ int save_zone_config(dnssec_kasp_zone_t *zone, const char *filename)
}
r = json_dumpf(config, file, JSON_DUMP_OPTIONS);
fputc('\n', file);
if (r != DNSSEC_EOK) {
return r;
}
return (r == 0) ? DNSSEC_EOK : DNSSEC_NOT_FOUND;
fputc('\n', file);
return DNSSEC_EOK;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment