Sfoglia il codice sorgente

Added Hostname to output

master
Marcel Haazen 5 anni fa
parent
commit
5ab224c808
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr Vedi File

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

Caricamento…
Annulla
Salva