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

Commit

Permalink
i3bar: Exit with 1 on wrong argument
Browse files Browse the repository at this point in the history
  • Loading branch information
orestisfl committed Jan 15, 2021
1 parent 6668d03 commit ba134d3
Show file tree
Hide file tree
Showing 2 changed files with 2 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
2 changes: 1 addition & 1 deletion i3bar/src/main.c
Expand Up @@ -128,7 +128,7 @@ int main(int argc, char **argv) {
break;
default:
print_usage(argv[0]);
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
break;
}
}
Expand Down

0 comments on commit ba134d3

Please sign in to comment.