The return values of the functions setting the sessiond's
base paths are not checked.
Reported-by: Coverity Scan (1382768 and 1382769, Unused value)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
} else {
ret = config_set_paths_non_root(config);
}
} else {
ret = config_set_paths_non_root(config);
}
+ if (ret < 0) {
+ goto end;
+ }
/* 32 bits consumerd path setup */
ret = asprintf(&str, DEFAULT_USTCONSUMERD32_PATH,
/* 32 bits consumerd path setup */
ret = asprintf(&str, DEFAULT_USTCONSUMERD32_PATH,