| Index: bin/cros_gsdcurl.py
|
| diff --git a/bin/cros_gsdcurl.py b/bin/cros_gsdcurl.py
|
| index e046fe2795e84c20d90940d6f38c3e9606750f41..38bafb569ab27b7be7dfc0d48ce57b2aea656257 100755
|
| --- a/bin/cros_gsdcurl.py
|
| +++ b/bin/cros_gsdcurl.py
|
| @@ -14,8 +14,7 @@ import urllib
|
|
|
|
|
| def Authenticate():
|
| - # Authenticate.
|
| - default_username = os.environ.get('LOGNAME', '')
|
| + default_username = getpass.getuser()
|
| username = os.environ.get('GSDCURL_USERNAME')
|
| if username is None:
|
| sys.stderr.write('Username [' + default_username + ']: ')
|
|
|