summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth_form.go
diff options
context:
space:
mode:
authorMura Li <typeless@users.noreply.github.com>2017-11-13 08:51:45 -0600
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-13 22:51:45 +0800
commitf4d12f8d9711d54b022ef28c39c670f36700f8f7 (patch)
tree9ce1511be1d5406e26e55eaf75ff41b4a66ea7a1 /modules/auth/auth_form.go
parente9728bf3b4c763464db30e1259501cf38a7a20c7 (diff)
downloadgitea-f4d12f8d9711d54b022ef28c39c670f36700f8f7.tar.gz
gitea-f4d12f8d9711d54b022ef28c39c670f36700f8f7.zip
Fix run command race (#1470)
* Use exec.CommandContext to simplfy timeout handling And fixing the data races which can be identified by the added tests when -race enabled. * Use sleep commmand instead of reading from stdin * Make the error handling go-esque
Diffstat (limited to 'modules/auth/auth_form.go')
0 files changed, 0 insertions, 0 deletions