diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-06-09 13:24:37 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-06-09 13:24:37 +0200 |
| commit | c5b1d6841245ba4fe3689549fb5ca229bac9dd47 (patch) | |
| tree | ad15d5f163e699fa0fb692b6cc5273f56c110f8c | |
| parent | 10118a58e5110f169bde7389d7c967e6666034b4 (diff) | |
| download | mullvadvpn-c5b1d6841245ba4fe3689549fb5ca229bac9dd47.tar.xz mullvadvpn-c5b1d6841245ba4fe3689549fb5ca229bac9dd47.zip | |
Make the OpenVPN process return nicer
Returns an ExitStatus instead of an error
| -rw-r--r-- | talpid_core/src/process/openvpn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/talpid_core/src/process/openvpn.rs b/talpid_core/src/process/openvpn.rs index df1e4c7682..97c88a99c0 100644 --- a/talpid_core/src/process/openvpn.rs +++ b/talpid_core/src/process/openvpn.rs @@ -54,7 +54,7 @@ impl OpenVpnCommand { /// Build a runnable expression from the current state of the command. pub fn build(&self) -> duct::Expression { debug!("Building expression: {}", &self); - duct::cmd(&self.openvpn_bin, self.get_arguments()) + duct::cmd(&self.openvpn_bin, self.get_arguments()).unchecked() } /// Returns all arguments that the subprocess would be spawned with. |
