diff options
author | zeripath <art27@cantab.net> | 2021-03-31 20:48:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 22:48:48 +0300 |
commit | 113c1557ff2dc0ae379709d7a9607e567c70e1d1 (patch) | |
tree | c34517a9e388a84d49a2a06b0c614ad9c405ed23 /modules/cron | |
parent | 79ac7468dc541bafc9a7174882c9ff31792089d6 (diff) | |
download | gitea-113c1557ff2dc0ae379709d7a9607e567c70e1d1.tar.gz gitea-113c1557ff2dc0ae379709d7a9607e567c70e1d1.zip |
Fix regression from #14623 - use debug SVC handler only on interactive sessions (#15210)
Unfortunately #14623 changed from the deprecated IsInteractiveSession to
IsWindowsService without recognising that they are the complement of
each other.
This means that Windows SVC control is not working correctly. This PR
adds some Tracing statements but also fixes the bug.
Fix #15159
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/cron')
0 files changed, 0 insertions, 0 deletions