diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-05-17 01:05:28 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-05-17 01:05:28 +0200 |
| commit | 5fa19db3f3d2e4ce4ba0259dca406a42bce3ff8f (patch) | |
| tree | af0034a7cededca4f6eae68923d5c868382a1b03 /windows-service/examples | |
| parent | 1884ed932e634e749d9b17ccca5e6231351a8b62 (diff) | |
| download | mullvadvpn-5fa19db3f3d2e4ce4ba0259dca406a42bce3ff8f.tar.xz mullvadvpn-5fa19db3f3d2e4ce4ba0259dca406a42bce3ff8f.zip | |
Format with rustfmt 0.7.0
Diffstat (limited to 'windows-service/examples')
| -rw-r--r-- | windows-service/examples/simple_service.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/windows-service/examples/simple_service.rs b/windows-service/examples/simple_service.rs index d7b0416466..7125221d90 100644 --- a/windows-service/examples/simple_service.rs +++ b/windows-service/examples/simple_service.rs @@ -366,11 +366,13 @@ mod simple_service { | ServiceState::PausePending | ServiceState::ContinuePending => ServiceControlAccept::empty(), ServiceState::Running => { - ServiceControlAccept::STOP | ServiceControlAccept::PAUSE_CONTINUE + ServiceControlAccept::STOP + | ServiceControlAccept::PAUSE_CONTINUE | ServiceControlAccept::SHUTDOWN } ServiceState::Paused => { - ServiceControlAccept::STOP | ServiceControlAccept::PAUSE_CONTINUE + ServiceControlAccept::STOP + | ServiceControlAccept::PAUSE_CONTINUE | ServiceControlAccept::SHUTDOWN } ServiceState::StopPending | ServiceState::Stopped => ServiceControlAccept::empty(), |
