1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 23:01:04 +02:00

fix: exit 0 on ipc connection error

Will now return code 3

Fixes #868
This commit is contained in:
Jake Stanger 2025-02-15 23:16:05 +00:00
parent 7c7b6c7323
commit 1d29d61628
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -102,7 +102,10 @@ fn run_with_args() {
cli::handle_response(res, args.format.unwrap_or_default());
}
Err(err) => error!("{err:?}"),
Err(err) => {
error!("{err:#}");
exit(ExitCode::IpcResponseError as i32)
}
};
});
}