Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4322 from orestisfl/i3bar-version
Browse files Browse the repository at this point in the history
i3bar log version & correct exit code
  • Loading branch information
orestisfl committed Jan 16, 2021
2 parents 9c7616c + ba134d3 commit e4f12ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE-NOTES-next
Expand Up @@ -26,3 +26,4 @@ strongly encouraged to upgrade.
• clear pixmap before drawing to prevent visual grabage in clients using 'Shape'
• i3bar: properly close file descriptors
• i3bar: properly restart status command after config change
• i3bar: exit with 1 when a wrong command line argument is used
4 changes: 3 additions & 1 deletion i3bar/src/main.c
Expand Up @@ -128,11 +128,13 @@ int main(int argc, char **argv) {
break;
default:
print_usage(argv[0]);
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
break;
}
}

LOG("i3bar version " I3_VERSION "\n");

main_loop = ev_default_loop(0); /* needed in init_xcb_early */
char *atom_sock_path = init_xcb_early();

Expand Down

0 comments on commit e4f12ac

Please sign in to comment.