From 5ab224c8081445ff5fea503772951bee20b6a635 Mon Sep 17 00:00:00 2001 From: Marcel Haazen Date: Mon, 22 Oct 2018 18:15:06 +0200 Subject: [PATCH] Added Hostname to output --- monitor.cr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/monitor.cr b/monitor.cr index 96a08f7..5deaace 100644 --- a/monitor.cr +++ b/monitor.cr @@ -23,5 +23,6 @@ rescue errno network = "Disconnected" end -#Print Information -puts "Internet: " + network \ No newline at end of file +# Print Information +puts "Internet: " + network +puts "Hostname: " + System.hostname \ No newline at end of file