mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
New UI merge in progress
This commit is contained in:
@@ -78,7 +78,7 @@ func ExecDir(timeout time.Duration, dir, desc, cmdName string, args ...string) (
|
||||
select {
|
||||
case <-time.After(timeout):
|
||||
if errKill := Kill(pid); errKill != nil {
|
||||
log.Error("Exec(%d:%s): %v", pid, desc, errKill)
|
||||
log.Error(4, "Exec(%d:%s): %v", pid, desc, errKill)
|
||||
}
|
||||
<-done
|
||||
return "", ErrExecTimeout.Error(), ErrExecTimeout
|
||||
|
Reference in New Issue
Block a user