From bca7be2aef389b351b2ff08f32c5b6cc75bd58d9 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Fri, 11 Dec 2020 19:01:48 +0330 Subject: [PATCH] Userland: Make `test' accept single-digit negative numbers --- Userland/test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/test.cpp b/Userland/test.cpp index 482e79f0a7..830f6ee50a 100644 --- a/Userland/test.cpp +++ b/Userland/test.cpp @@ -416,6 +416,7 @@ static OwnPtr parse_simple_expression(char* argv[]) case 's': fatal_error("Unsupported operator \033[1m%s", argv[optind]); default: + --optind; break; } }