mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(expr invocation): Exit status is 2 if the
expression is syntactically invalid, 3 if there is some other error. This change is for conformance to POSIX.
This commit is contained in:
1 parent
5a323d4063
commit
7bb7cd570a
1 file changed
+2
-1
+2
-1
@@ -8996,7 +8996,8 @@ Exit status:
|
||||
@display
|
||||
0 if the expression is neither null nor 0,
|
||||
1 if the expression is null or 0,
|
||||
2 for invalid expressions.
|
||||
2 if the expression is syntactically invalid,
|
||||
3 if an error occurred.
|
||||
@end display
|
||||
|
||||
@menu
|
||||
|
||||
Reference in new issue
Block a user