From: epriestley Date: Wed, 22 Jun 2011 07:12:55 +0000 (-0700) Subject: Stop defualting to USER from env in arcanist X-Git-Tag: conduit-4~309 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=55353001d43b463f3f2a68640c743cde662dc610;p=arcanist.git Stop defualting to USER from env in arcanist Summary: This once made sense but hasn't been a reasonable default for a long time, get rid of it. Test Plan: Ran "arc list". Reviewers: llorca, toulouse CC: Differential Revision: 496 --- diff --git a/scripts/arcanist.php b/scripts/arcanist.php index ecd306da..76f56638 100755 --- a/scripts/arcanist.php +++ b/scripts/arcanist.php @@ -179,7 +179,7 @@ try { $hosts_config = idx($user_config, 'hosts', array()); $host_config = idx($hosts_config, $conduit_uri, array()); - $user_name = idx($host_config, 'user', getenv('USER')); + $user_name = idx($host_config, 'user'); $certificate = idx($host_config, 'cert'); $description = implode(' ', $argv);