浏览代码

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

正在加载...
取消
保存