]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
homed: include error string when in log message if quota doesn't work
authorLennart Poettering <lennart@poettering.net>
Wed, 20 May 2020 16:12:41 +0000 (18:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 May 2020 21:39:30 +0000 (23:39 +0200)
src/home/homed-manager.c

index ea5791ae49891ff09d27f1efa1f0dd205f813c6f..7d951bee3b1189be626fae638b4721228137deac 100644 (file)
@@ -513,7 +513,7 @@ static int search_quota(uid_t uid, const char *exclude_quota_path) {
                         if (ERRNO_IS_NOT_SUPPORTED(r))
                                 log_debug_errno(r, "No UID quota support on %s, ignoring.", where);
                         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;
                 }