Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2992416
D25888.1740216290.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
472 B
Referenced Files
None
Subscribers
None
D25888.1740216290.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(0);
} else {
return $workflow;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 22, 09:24 (5 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1175411
Default Alt Text
D25888.1740216290.diff (472 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