diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-12-16 15:26:15 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-12-16 15:26:15 +0100 |
commit | fd3ba63e80e7f97ae89ab5938fe6594c2d1c0869 (patch) | |
tree | eb4d998b2e2b19440466c17a22d5742cd9ebdfc7 /src/main.rs | |
parent | Removed unused atexit (diff) | |
download | wireguard-rs-fd3ba63e80e7f97ae89ab5938fe6594c2d1c0869.tar.xz wireguard-rs-fd3ba63e80e7f97ae89ab5938fe6594c2d1c0869.zip |
Revert to crossbeam
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 087b54b..59b21e5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -180,14 +180,11 @@ fn main() { }); } Err(err) => { - log::info!("UAPI error: {}", err); - break; + log::info!("UAPI connection error: {}", err); + profiler_stop(); + exit(0); } } - - // exit - profiler_stop(); - exit(0); }); // block until all tun readers closed |