Unverified Commit f120a741 by 2xsec

tests: cleanup config_jump_table.c

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent fbeb7a1a
...@@ -54,6 +54,7 @@ int main(int argc, char *argv[]) ...@@ -54,6 +54,7 @@ int main(int argc, char *argv[])
for (key = strtok_r(keys, "\n", &saveptr); key != NULL; for (key = strtok_r(keys, "\n", &saveptr); key != NULL;
key = strtok_r(NULL, "\n", &saveptr)) { key = strtok_r(NULL, "\n", &saveptr)) {
struct lxc_config_t *config; struct lxc_config_t *config;
config = lxc_get_config(key); config = lxc_get_config(key);
if (!config) { if (!config) {
lxc_error("configuration key \"%s\" not implemented in " lxc_error("configuration key \"%s\" not implemented in "
...@@ -90,5 +91,4 @@ on_error: ...@@ -90,5 +91,4 @@ on_error:
free(keys); free(keys);
exit(ret); exit(ret);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment