machine-pool: simplify return values from setup_machine_directory()
Non-negative return values of setup_machine_directory() were never used and never had clear meaning, so do not distinguish between various non-error conditions and just return 0 in all cases.
This commit is contained in:
@@ -41,5 +41,5 @@ int setup_machine_directory(sd_bus_error *error) {
|
||||
if (r < 0)
|
||||
log_warning_errno(r, "Failed to set up default quota hierarchy for /var/lib/machines, ignoring: %m");
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user