Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2988405
D25888.1740150874.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
471 B
Referenced Files
None
Subscribers
None
D25888.1740150874.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,10 @@
if ($workflow->isExecutable()) {
$workflow->setArgv($this);
$err = $workflow->execute($this);
- exit($err);
+ if ($err) {
+ exit($err);
+ }
+ exit();
} else {
return $workflow;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 21, 15:14 (12 h, 21 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1178727
Default Alt Text
D25888.1740150874.diff (471 B)
Attached To
Mode
D25888: PHP 8.4: Do not pass null to exit() in PhutilArgumentParser
Attached
Detach File
Event Timeline
Log In to Comment