Parcourir la source

Added Hostname to output

master
Marcel Haazen il y a 5 ans
Parent
révision
5ab224c808
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr Voir le fichier

@ -23,5 +23,6 @@ rescue errno
network = "Disconnected"
end
#Print Information
puts "Internet: " + network
# Print Information
puts "Internet: " + network
puts "Hostname: " + System.hostname

Chargement…
Annuler
Enregistrer