From 81a38a8ee234b335a94827a1e7e17ec01c1e57c8 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Mon, 25 Sep 2023 16:18:10 +0200 Subject: remove unnecessary prints Signed-off-by: Anna (navi) Figueiredo Gomes --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index f3199e5..71892ca 100644 --- a/src/main.rs +++ b/src/main.rs @@ -87,7 +87,7 @@ fn main() -> Result<(), swayipc::Error> { if nterms < 1 { eprintln!("usage: swhd "); - return Ok(()); + std::process::exit(-1); } let wh = WindowHider { -- cgit v1.2.3