cgls: print the expressive error message we have

This commit is contained in:
Lennart Poettering
2015-08-31 13:20:44 +02:00
parent a6149b93af
commit cb88a0a4ae
+1 -1
View File
@@ -160,7 +160,7 @@ static int get_cgroup_root(char **ret) {
&error,
ret);
if (r < 0)
return log_error_errno(r, "Failed to query unit control group path: %m");
return log_error_errno(r, "Failed to query unit control group path: %s", bus_error_message(&error, r));
return 0;
}