Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
// Setup user/group
r = pakfire_setup_user(p);
- if (r < 0)
+ if (r < 0) {
+ CTX_ERROR(p->ctx, "Could not parse user information: %s\n", strerror(-r));
goto ERROR;
+ }
// Store if we have a path
if (path)
// Import distro configuration
r = pakfire_config_import_distro(p);
- if (r < 0)
+ if (r < 0) {
+ CTX_ERROR(p->ctx, "Could not parse distribution from configuration: %s\n", strerror(-r));
goto ERROR;
+ }
// Read /etc/os-release
if (p->internal_flags & PAKFIRE_HAS_PATH) {