summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Config.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Command/Config.php')
-rw-r--r--pear/PEAR/Command/Config.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pear/PEAR/Command/Config.php b/pear/PEAR/Command/Config.php
index 47fe111e91..ff429e85d1 100644
--- a/pear/PEAR/Command/Config.php
+++ b/pear/PEAR/Command/Config.php
@@ -154,6 +154,9 @@ displays help for all configuration parameters.
$failmsg .= $error;
break;
}
+ if ($params[0] == 'umask') {
+ list($params[1]) = sscanf($params[1], '%o');
+ }
if (!call_user_func_array(array(&$this->config, 'set'), $params))
{
$failmsg = "config-set (" . implode(", ", $params) . ") failed";