binfmt: fix apply loop

Noticed by Sergey Ptashnick
This commit is contained in:
Lennart Poettering
2012-03-22 00:35:42 +01:00
parent 9adf646d0a
commit 170dcb7bd5
+1 -1
View File
@@ -130,7 +130,7 @@ int main(int argc, char *argv[]) {
for (i = 1; i < argc; i++) {
int k;
k = apply_file(argv[1], false);
k = apply_file(argv[i], false);
if (k < 0 && r == 0)
r = k;
}