15954: Fix missing return.
authorTom Clegg <tom@tomclegg.ca>
Tue, 28 Jan 2020 19:35:47 +0000 (14:35 -0500)
committerTom Clegg <tom@tomclegg.ca>
Tue, 28 Jan 2020 19:35:47 +0000 (14:35 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/boot/cmd.go

index d0a566d6b29281818de17d17e3417cd9df9875be..6b4200a7217174fd85274fa45a77b5dbdff32424 100644 (file)
@@ -388,11 +388,11 @@ func (cmpt *component) Run(ctx context.Context, boot *bootCommand, stdout, stder
                                }()
                        }
                        wg.Wait()
-                       return nil
                } else {
                        // Just run one
                        boot.RunProgram(ctx, boot.tempdir, nil, nil, basename)
                }
+               return nil
        }
        if cmpt.runFunc != nil {
                return cmpt.runFunc(ctx, boot, stdout, stderr)