Skip to content

Commit 7ebe910

Browse files
committed
user-runtime-dir: Log the quota limit in the warning message on failure
1 parent 2e326aa commit 7ebe910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/login/user-runtime-dir.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ static int apply_tmpfs_quota(
284284
log_debug_errno(r, "Lacking privileges to set UID quota on %s, skipping: %m", *p);
285285
continue;
286286
} else if (r < 0) {
287-
log_warning_errno(r, "Failed to set disk quota on %s for UID " UID_FMT ", ignoring: %m", *p, uid);
287+
log_warning_errno(r, "Failed to set disk quota limit to '%s' on %s for UID " UID_FMT ", ignoring: %m", FORMAT_BYTES(v), *p, uid);
288288
continue;
289289
}
290290

0 commit comments

Comments
 (0)