Bug #4819

oneuser fails if $HOME is not set

Added by Ruben S. Montero about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:09/23/2016
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:CLI
Target version:Release 5.2
Resolution:duplicate Pull request:
Affected Versions:Development

Description

unset HOME; oneuser list

/home/ruben/Virtual/one-devel/lib/ruby/cli/one_helper/oneuser_helper.rb:31:in `<class:OneUserHelper>': undefined method `+' for nil:NilClass (NoMethodError)
from /home/ruben/Virtual/one-devel/lib/ruby/cli/one_helper/oneuser_helper.rb:29:in `<top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /home/ruben/Virtual/one-devel/bin/oneuser:31:in `<main>'


Related issues

Related to Bug #4820: Some commands do not check ONE_AUTH file Closed 09/23/2016

History

#1 Updated by Ruben S. Montero about 4 years ago

  • Status changed from New to Closed
  • Resolution set to duplicate

#2 Updated by Ruben S. Montero about 4 years ago

  • Related to Bug #4820: Some commands do not check ONE_AUTH file added

Also available in: Atom PDF