Skip to content

Commit

Permalink
Some minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
darkoperator committed Jul 11, 2012
1 parent ba7a97d commit 3903c0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mdnsrecon.rb
Expand Up @@ -60,6 +60,8 @@ def check_avahi
stdin,stdout,stderr = Open3.popen3("/usr/bin/service avahi-daemon start")
if stdout.read.chomp =~ /running/i
print_good("Avahi service successfuly startered")
# give it time to properly start
sleep 2.0
else
print_error("Could not start Avahi service")
exit
Expand Down Expand Up @@ -194,7 +196,7 @@ def usage
if csvfile
print_status("Saving found records to #{csvfile}")
gen_csv(csvfile, records)
print_good("Records saved")
print_good("#{records.length} Records saved")
exit
end
print_records(records)
Expand Down

0 comments on commit 3903c0b

Please sign in to comment.