remove option to never upgrade ucf files
[automated-distro-installer] / chost
diff --git a/chost b/chost
index 616874151a0aa5c087c1c275198eb4134cbc530e..c02c8c2595a3483117e62bc212237bec5a67a0db 100755 (executable)
--- a/chost
+++ b/chost
@@ -10,4 +10,4 @@ host=$1
 addr=$(host $host | sed -rn 's/^\S+ has address //p;T;q')
 h=$(host $addr)
 h=${h##* }
-echo ${h%%.*}
+echo $h