Skip to content

Commit

Permalink
fix exit codes when there is no response
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKratz committed Sep 28, 2022
1 parent f6bc244 commit bf3d88d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sketchybar.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ static int client_send_message(int argc, char **argv) {
message,
message_length,
true );
if (!rsp)
return EXIT_FAILURE;

if (!rsp) return EXIT_SUCCESS;

printf("%s", rsp);

Expand Down

0 comments on commit bf3d88d

Please sign in to comment.