diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-05-03 03:30:59 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-05-03 03:30:59 -0400 |
commit | 6ebf7d55e4c553870306a70092cfb677c17429b9 (patch) | |
tree | 2d20288e44fa627159d0a4e578f0fb506d16f921 /src/bin/rbw/sock.rs | |
parent | 36b5107239b75136ce74799d87a645e153d95948 (diff) | |
download | rbw-6ebf7d55e4c553870306a70092cfb677c17429b9.tar.gz rbw-6ebf7d55e4c553870306a70092cfb677c17429b9.zip |
simplify
Diffstat (limited to 'src/bin/rbw/sock.rs')
-rw-r--r-- | src/bin/rbw/sock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rbw/sock.rs b/src/bin/rbw/sock.rs index 1ba13ec..b3ff1d6 100644 --- a/src/bin/rbw/sock.rs +++ b/src/bin/rbw/sock.rs @@ -6,7 +6,7 @@ pub struct Sock(std::os::unix::net::UnixStream); impl Sock { pub fn connect() -> std::io::Result<Self> { Ok(Self(std::os::unix::net::UnixStream::connect( - rbw::dirs::runtime_dir().join("socket"), + rbw::dirs::socket_file(), )?)) } |