svn: /pear/pear-core/trunk/scripts/ pearcmd.php

From: Date: Sun, 27 Feb 2011 13:57:03 +0000
Subject: svn: /pear/pear-core/trunk/scripts/ pearcmd.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9750@lists.php.net to get a copy of this message
dufuz Sun, 27 Feb 2011 13:57:03 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308721 Log: Fixed Bug #18238: Wrong return code from "pear help" [till] # Backport from 1.9.2 branch Bug: http://pear.php.net/bugs/18238 (unknown) Changed paths: U pear/pear-core/trunk/scripts/pearcmd.php Modified: pear/pear-core/trunk/scripts/pearcmd.php =================================================================== --- pear/pear-core/trunk/scripts/pearcmd.php 2011-02-27 13:56:15 UTC (rev 308720) +++ pear/pear-core/trunk/scripts/pearcmd.php 2011-02-27 13:57:03 UTC (rev 308721) @@ -373,6 +373,10 @@ } fputs($stdout, "$put\n"); fclose($stdout); + + if ($error === null) { + exit(0); + } exit(1); }

« previous php.pear.core (#9750) next »