Skip to content

Commit 70e1da2

Browse files
csweichelroboquat
authored andcommitted
[supervisor] Fix dotfile installation
1 parent 751b5e3 commit 70e1da2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/supervisor/pkg/supervisor/supervisor.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,9 @@ func installDotfiles(ctx context.Context, cfg *Config, tokenService *InMemoryTok
437437
}()
438438
select {
439439
case err := <-done:
440-
return err
440+
if err != nil {
441+
return err
442+
}
441443
case <-time.After(120 * time.Second):
442444
return xerrors.Errorf("dotfiles repo clone did not finish within two minutes")
443445
}

0 commit comments

Comments
 (0)