aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Grunert <mail@saschagrunert.de>2017-02-27 16:08:14 +0100
committerSascha Grunert <mail@saschagrunert.de>2017-02-27 16:08:14 +0100
commit56924beb0039d38c6c4251b7c642eb7eabf32ecf (patch)
tree8f91714488b509aa4f92dbca2d5ad87a966aa859
parentAdded first daemonization support (diff)
downloadwireguard-rs-56924beb0039d38c6c4251b7c642eb7eabf32ecf.tar.xz
wireguard-rs-56924beb0039d38c6c4251b7c642eb7eabf32ecf.zip
Fixed indents
-rw-r--r--src/lib.rs3
-rw-r--r--tests/lib.rs1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 54f3165..da96029 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -53,7 +53,8 @@ impl WireGuard {
debug!("Creating socket path: {}", socket_path.display());
create_dir(&socket_path)?;
}
- debug!("Setting chmod 0700 of socket path: {}", socket_path.display());
+ debug!("Setting chmod 0700 of socket path: {}",
+ socket_path.display());
Self::chmod(&socket_path, 0o700)?;
// Finish the socket path
diff --git a/tests/lib.rs b/tests/lib.rs
index e7fb9ac..334160d 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1,2 +1 @@
extern crate wireguard;
-