homework-blob: pass the right error variable

This commit is contained in:
David Tardon
2024-05-07 14:02:08 +02:00
parent 11bbc1f8b8
commit 6c936c156a
+1 -1
View File
@@ -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;
}