aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/rbw/sock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/rbw/sock.rs')
-rw-r--r--src/bin/rbw/sock.rs2
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(),
)?))
}