1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

binfmt: unparenthesize a bit

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-11-10 14:01:54 +01:00
parent 52707598d5
commit 33068a0f5e

View File

@ -200,15 +200,13 @@ static int run(int argc, char *argv[]) {
if (arg_unregister)
return disable_binfmt();
if (argc > optind) {
int i;
for (i = optind; i < argc; i++) {
if (argc > optind)
for (int i = optind; i < argc; i++) {
k = apply_file(argv[i], false);
if (k < 0 && r == 0)
r = k;
}
} else {
else {
_cleanup_strv_free_ char **files = NULL;
char **f;