Skip to content

Commit

Permalink
vprint_good change
Browse files Browse the repository at this point in the history
  • Loading branch information
sempervictus committed Jan 23, 2012
1 parent 355f8bb commit e078d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/post/windows/manage/exec_powershell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def make_subs(script, subs)
script.gsub!(set[0],set[1])
end
if datastore['VERBOSE']
print_status("Final Script: ")
print_good("Final Script: ")
script.each_line {|l| print_status("\t#{l}")}
end

Expand Down Expand Up @@ -267,7 +267,7 @@ def write_to_log(cmd_out, log_file)
while (line = cmd_out.channel.read())
if (line.sub!(/#{@eof}/, ''))
fd.write(line)
print_status("\t#{line}") if datastore['VERBOSE']
vprint_good("\t#{line}")
cmd_out.channel.close()
break
end
Expand Down

0 comments on commit e078d15

Please sign in to comment.