Merge pull request #4322 from orestisfl/i3bar-version
i3bar log version & correct exit code
This commit is contained in:
commit
e4f12ac349
@ -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
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user