aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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 <list of terminals>");
- return Ok(());
+ std::process::exit(-1);
}
let wh = WindowHider {