1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:37:47 +00:00

Userland: Don't return an error when jp is run without arguments

This commit is contained in:
Dan MacDonald 2019-07-02 09:26:45 +01:00 committed by Andreas Kling
parent 362ac8f1ba
commit 0b1ff2d0eb

View file

@ -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)) {