1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-18 06:03:42 +03:00

modules-load: inline interator variable

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-05-07 13:24:03 +02:00 committed by Yu Watanabe
parent 6b908313ef
commit be21b60b89

View File

@ -186,9 +186,7 @@ static int run(int argc, char *argv[]) {
r = 0; r = 0;
if (argc > optind) { if (argc > optind) {
int i; for (int i = optind; i < argc; i++) {
for (i = optind; i < argc; i++) {
k = apply_file(ctx, argv[i], false); k = apply_file(ctx, argv[i], false);
if (k < 0 && r == 0) if (k < 0 && r == 0)
r = k; r = k;