Ver código fonte

Added Hostname to output

master
Marcel Haazen 5 anos atrás
pai
commit
5ab224c808
1 arquivos alterados com 3 adições e 2 exclusões
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr Ver arquivo

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

Carregando…
Cancelar
Salvar