mirror of
https://github.com/systemd/systemd.git
synced 2025-01-09 01:18:19 +03:00
systemctl: fix log message when glob patterns passed to disable command and friends
Fixes #32599.
This commit is contained in:
parent
6be4dab095
commit
1cca93f7f3
@ -72,7 +72,8 @@ int verb_enable(int argc, char *argv[], void *userdata) {
|
||||
if (!argv[1])
|
||||
return 0;
|
||||
|
||||
r = mangle_names("to enable", strv_skip(argv, 1), &names);
|
||||
const char *operation = strjoina("to ", verb);
|
||||
r = mangle_names(operation, strv_skip(argv, 1), &names);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user