We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e493eef commit 670aa33Copy full SHA for 670aa33
1 file changed
internal/runner/sudo.go
@@ -31,7 +31,9 @@ func StartSudoRefresh(ctx context.Context) {
31
case <-ctx.Done():
32
return
33
case <-ticker.C:
34
- exec.Command("sudo", "-n", "-v").Run()
+ cmd := exec.Command("sudo", "-n", "-v")
35
+ cmd.Stdin = os.Stdin
36
+ cmd.Run()
37
}
38
39
}()
0 commit comments