From 0b1ff2d0eb6710e96d86e0fb956af39441d2dc87 Mon Sep 17 00:00:00 2001 From: Dan MacDonald Date: Tue, 2 Jul 2019 09:26:45 +0100 Subject: [PATCH] Userland: Don't return an error when jp is run without arguments --- Userland/jp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/jp.cpp b/Userland/jp.cpp index 557c8bbe8e8..9c4221e3da7 100644 --- a/Userland/jp.cpp +++ b/Userland/jp.cpp @@ -15,7 +15,7 @@ int main(int argc, char** argv) { if (argc != 2) { fprintf(stderr, "usage: jp \n"); - return 1; + return 0; } CFile file(argv[1]); if (!file.open(CIODevice::ReadOnly)) {