Skip to content

Drop back to use IsAnInteractiveSession for SVC (#15749)#15762

Merged
6543 merged 3 commits into
go-gitea:release/v1.14from
zeripath:backport-15749-v1.14
May 7, 2021
Merged

Drop back to use IsAnInteractiveSession for SVC (#15749)#15762
6543 merged 3 commits into
go-gitea:release/v1.14from
zeripath:backport-15749-v1.14

Conversation

@zeripath
Copy link
Copy Markdown
Contributor

@zeripath zeripath commented May 7, 2021

Backport #15749

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

Backport go-gitea#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 go-gitea#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>
@zeripath zeripath added this to the 1.14.2 milestone May 7, 2021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 7, 2021
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 7, 2021
@6543
Copy link
Copy Markdown
Member

6543 commented May 7, 2021

🚀

@6543 6543 merged commit 1ec11ac into go-gitea:release/v1.14 May 7, 2021
@zeripath zeripath deleted the backport-15749-v1.14 branch May 7, 2021 17:19
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants