mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Userland: Don't return an error when jp is run without arguments
This commit is contained in:
parent
362ac8f1ba
commit
0b1ff2d0eb
Notes:
sideshowbarker
2024-07-19 13:24:30 +09:00
Author: https://github.com/danboid Commit: https://github.com/SerenityOS/serenity/commit/0b1ff2d0eb6 Pull-request: https://github.com/SerenityOS/serenity/pull/273
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…
Reference in a new issue