homed: include error string when in log message if quota doesn't work
This commit is contained in:
parent
2fcbf417b6
commit
1a53adb3ab
|
@ -513,7 +513,7 @@ static int search_quota(uid_t uid, const char *exclude_quota_path) {
|
||||||
if (ERRNO_IS_NOT_SUPPORTED(r))
|
if (ERRNO_IS_NOT_SUPPORTED(r))
|
||||||
log_debug_errno(r, "No UID quota support on %s, ignoring.", where);
|
log_debug_errno(r, "No UID quota support on %s, ignoring.", where);
|
||||||
else
|
else
|
||||||
log_warning_errno(r, "Failed to query quota on %s, ignoring.", where);
|
log_warning_errno(r, "Failed to query quota on %s, ignoring: %m", where);
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue