i3bar: Exit with 1 on wrong argument

This commit is contained in:
Orestis Floros
2021-01-15 23:30:52 +01:00
parent 6668d03157
commit ba134d3c7c
2 changed files with 2 additions and 1 deletions

View File

@ -128,7 +128,7 @@ int main(int argc, char **argv) {
break;
default:
print_usage(argv[0]);
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
break;
}
}