Skip to content

Commit e7d5dad

Browse files
committed
do not explicitly call exit(0). fixes #21
A normally exiting PHP script will exit with error code 0 by default, so we don't need to explicitly call it in run()
1 parent 41453e6 commit e7d5dad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Base.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ public function run()
9797
$this->setupLogging();
9898
$this->checkArguments();
9999
$this->execute();
100-
101-
exit(0);
102100
}
103101

104102
// region run handlers - for easier overriding

0 commit comments

Comments
 (0)