This commit is contained in:
co63oc
2024-06-22 16:22:03 +08:00
committed by GitHub
parent 81e459da01
commit 0ce52de59b
4 changed files with 6 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ func (a *Agent) checkSudoPermission() error {
case <-time.After(5 * time.Second):
cmd2.Process.Signal(os.Interrupt)
if !a.quiet {
fmt.Fprintf(a.writer, "checked result: timeout execeed and need sudo with password\n")
fmt.Fprintf(a.writer, "checked result: timeout exceed and need sudo with password\n")
}
a.runSudoState = SudoWithPassword