From: David Tardon Date: Tue, 7 May 2024 11:50:55 +0000 (+0200) Subject: homework-blob: pass the right error variable X-Git-Tag: v256-rc2~83^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c936c156ab50907dfed4c13e5a2f54e8df37514;p=thirdparty%2Fsystemd.git homework-blob: pass the right error variable --- diff --git a/src/home/homework-blob.c b/src/home/homework-blob.c index 17cb7d6ce3c..6b22ab6f24e 100644 --- a/src/home/homework-blob.c +++ b/src/home/homework-blob.c @@ -264,7 +264,7 @@ int home_apply_new_blob_dir(UserRecord *h, Hashmap *blobs) { * of the directory. */ r = rm_rf_at(base_dfd, h->user_name, REMOVE_PHYSICAL|REMOVE_MISSING_OK); if (r < 0) - return log_error_errno(errno, "Failed to empty out system blob dir: %m"); + return log_error_errno(r, "Failed to empty out system blob dir: %m"); return 0; }