Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3221354
D25869/new/.1741830646.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
430 B
Referenced Files
None
Subscribers
None
D25869/new/.1741830646.diff
View Options
diff --git a/src/parser/argument/PhutilArgumentParser.php b/src/parser/argument/PhutilArgumentParser.php
--- a/src/parser/argument/PhutilArgumentParser.php
+++ b/src/parser/argument/PhutilArgumentParser.php
@@ -491,7 +491,7 @@
if ($workflow->isExecutable()) {
$workflow->setArgv($this);
$err = $workflow->execute($this);
- exit($err);
+ exit($err ?? 0);
} else {
return $workflow;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 01:50 (2 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1165140
Default Alt Text
D25869/new/.1741830646.diff (430 B)
Attached To
Mode
D25869: Fix PHP 8 exit status cannot be null error in PhutilArgumentParser
Attached
Detach File
Event Timeline
Log In to Comment