mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-12 17:37:53 +03: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
@ -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 New Issue
Block a user