i3bar: Exit with 1 on wrong argument
This commit is contained in:
parent
6668d03157
commit
ba134d3c7c
@ -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,7 +128,7 @@ int main(int argc, char **argv) {
|
||||
break;
|
||||
default:
|
||||
print_usage(argv[0]);
|
||||
exit(EXIT_SUCCESS);
|
||||
exit(EXIT_FAILURE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user