mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:07:35 +00:00
Userland: Make `test' accept single-digit negative numbers
This commit is contained in:
parent
66b26fc1c2
commit
bca7be2aef
1 changed files with 1 additions and 0 deletions
|
@ -416,6 +416,7 @@ static OwnPtr<Condition> parse_simple_expression(char* argv[])
|
||||||
case 's':
|
case 's':
|
||||||
fatal_error("Unsupported operator \033[1m%s", argv[optind]);
|
fatal_error("Unsupported operator \033[1m%s", argv[optind]);
|
||||||
default:
|
default:
|
||||||
|
--optind;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue