mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Userland: Don't return an error when jp is run without arguments
This commit is contained in:
parent
362ac8f1ba
commit
0b1ff2d0eb
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ int main(int argc, char** argv)
|
|||
{
|
||||
if (argc != 2) {
|
||||
fprintf(stderr, "usage: jp <file>\n");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
CFile file(argv[1]);
|
||||
if (!file.open(CIODevice::ReadOnly)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue