ソースを参照

Added Hostname to output

master
Marcel Haazen 5年前
コミット
5ab224c808
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      monitor.cr

+ 3
- 2
monitor.cr ファイルの表示

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

読み込み中…
キャンセル
保存