install: Drop install_info_may_process() from unit_file_get_default()
This currently makes unit_file_get_default() fail if the default target is transient which shouldn't make us fail to get the default unit.
This commit is contained in:
@@ -3029,9 +3029,6 @@ int unit_file_get_default(
|
||||
&info, NULL, NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
r = install_info_may_process(info, &lp, NULL, 0);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
n = strdup(info->name);
|
||||
if (!n)
|
||||
|
||||
Reference in New Issue
Block a user