diff --git a/src/binfmt/binfmt.c b/src/binfmt/binfmt.c index 0c91ede6bb..da70187527 100644 --- a/src/binfmt/binfmt.c +++ b/src/binfmt/binfmt.c @@ -219,6 +219,8 @@ static int run(int argc, char *argv[]) { else log_debug("Flushed all binfmt_misc rules."); + r = 0; + STRV_FOREACH(f, files) RET_GATHER(r, apply_file(*f, true)); }