diff options
author | zeripath <art27@cantab.net> | 2021-05-07 10:27:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 11:27:31 +0200 |
commit | bdc169772980285a89480a93c78731b6f45ee2ff (patch) | |
tree | faa3de08e9d126d800c61e9a796a39251f866a31 /.golangci.yml | |
parent | 640066840e23367d9d13e92d786b877448ae9329 (diff) | |
download | gitea-bdc169772980285a89480a93c78731b6f45ee2ff.tar.gz gitea-bdc169772980285a89480a93c78731b6f45ee2ff.zip |
Drop back to use IsAnInteractiveSession for SVC (#15749)
* Drop back to use IsAnInteractiveSession for SVC
There is an apparent permission change problem when using
IsWindowsService to determine if the SVC manager should be
used.
This PR simply drops back to using IsAnInteractiveSession as
this does not change behaviour.
Fix #15454
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Yes staticcheck I know this is deprecated
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Just leave me alone lint
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to '.golangci.yml')
-rw-r--r-- | .golangci.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.golangci.yml b/.golangci.yml index 88168af222..0d7f90e263 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -110,3 +110,7 @@ issues: - text: "exitAfterDefer:" linters: - gocritic + - path: modules/graceful/manager_windows.go + linters: + - staticcheck + text: "svc.IsAnInteractiveSession is deprecated: Use IsWindowsService instead." |