systemctl: use correct runtime scope
This commit is contained in:
committed by
Luca Boccassi
parent
423de11f04
commit
9cbd4f9b61
@@ -20,7 +20,7 @@ static int show_installation_targets_client_side(const char *name) {
|
||||
flags = UNIT_FILE_DRY_RUN |
|
||||
(arg_runtime ? UNIT_FILE_RUNTIME : 0);
|
||||
|
||||
r = unit_file_disable(RUNTIME_SCOPE_SYSTEM, flags, NULL, p, &changes, &n_changes);
|
||||
r = unit_file_disable(arg_runtime_scope, flags, NULL, p, &changes, &n_changes);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to get file links for %s: %m", name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user