From e2db2efa4b6321ccc042647d15f62969d223b9da Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 3 Aug 2020 01:49:36 +0100 Subject: [PATCH] clippy omg bugfix! --- src/cmdlistener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmdlistener.rs b/src/cmdlistener.rs index cb46db42..6022473f 100644 --- a/src/cmdlistener.rs +++ b/src/cmdlistener.rs @@ -454,7 +454,7 @@ impl CommandListener { let listener = UnixListener::bind(path) .with_context(|| format!("bind command socket {:?}", &path))?; - fs::set_permissions(path, unix::fs::PermissionsExt::from_mode(0666)) + fs::set_permissions(path, unix::fs::PermissionsExt::from_mode(0o666)) .with_context(|| format!("chmod sommand socket {:?}", &path))?; CommandListener { listener } -- 2.30.2