diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-21 17:51:08 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-21 18:10:06 +0100 |
commit | 290cb8e883b2e2ad237967fb2f7d455ecde66b46 (patch) | |
tree | d88c57d665b05e87fbe21069d32ad021952f2e7b /src | |
parent | b1dffbb91b2accb93962feecf44c4e9b07f06651 (diff) | |
download | systemd-290cb8e883b2e2ad237967fb2f7d455ecde66b46.tar.gz |
systemctl: tiny optimization
Diffstat (limited to 'src')
-rw-r--r-- | src/systemctl/systemctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 965cbaaf33..9d94935d68 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -6449,7 +6449,7 @@ static int enable_sysv_units(const char *verb, char **args) { assert(f > 0); f--; assert(args[f] == name); - strv_remove(args, name); + strv_remove(args + f, name); } #endif |