Unbreak this
git-svn-id: file:///home/svn/framework3/trunk@10621 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
f19be2ca3f
commit
b99be2dae6
|
@ -354,7 +354,7 @@ class Module
|
|||
|
||||
# Fallback when neither prior method is available, common for msfconsole
|
||||
if username.empty?
|
||||
username = (ENV['LOGNAME'] || ENV['USERNAME'] || ENV['USER'] || "unknown").to_.strip
|
||||
username = (ENV['LOGNAME'] || ENV['USERNAME'] || ENV['USER'] || "unknown").to_s.strip
|
||||
end
|
||||
|
||||
username
|
||||
|
|
Loading…
Reference in New Issue