File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
modules/post/windows/gather/credentials Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,11 +115,11 @@ def run
115
115
env = get_envs ( 'APPDATA' , prog_files_env , 'USERNAME' )
116
116
117
117
if env [ 'APPDATA' ] . nil?
118
- fail_with ( Failure ::Unknown , 'Target does not hav environment variable APPDATA' )
118
+ fail_with ( Failure ::Unknown , 'Target does not have environment variable APPDATA' )
119
119
elsif env [ prog_files_env ] . nil?
120
- fail_with ( Failure ::Unknown , "Target does not hav environment variable #{ prog_files_env } " )
120
+ fail_with ( Failure ::Unknown , "Target does not have environment variable #{ prog_files_env } " )
121
121
elsif env [ 'USERNAME' ] . nil?
122
- fail_with ( Failure ::Unknown , 'Target does not hav environment variable USERNAME' )
122
+ fail_with ( Failure ::Unknown , 'Target does not have environment variable USERNAME' )
123
123
end
124
124
125
125
user_dir = "#{ env [ 'APPDATA' ] } \\ ..\\ .."
You can’t perform that action at this time.
0 commit comments