1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-11 09:18:07 +03:00

systemctl: tiny optimization

This commit is contained in:
Lennart Poettering 2019-03-21 17:51:08 +01:00
parent b1dffbb91b
commit 290cb8e883

View File

@ -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