summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-01-22 09:48:30 +0000
committerTed Trask <ttrask01@yahoo.com>2010-01-22 09:48:30 +0000
commit330627e73eeacb9fd2653757b761a002fc7a4b1f (patch)
tree97fea5260862fe316d17ed915b73bb5e557d6e96
parentb2f01eefe16bc19797360ee2a05805e6dc330d38 (diff)
downloadacf-alpine-baselayout-330627e73eeacb9fd2653757b761a002fc7a4b1f.tar.bz2
acf-alpine-baselayout-330627e73eeacb9fd2653757b761a002fc7a4b1f.tar.xz
Bug fix for hostname change.
-rw-r--r--hostname-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostname-model.lua b/hostname-model.lua
index c11102c..debc7d9 100644
--- a/hostname-model.lua
+++ b/hostname-model.lua
@@ -6,7 +6,7 @@ require("fs")
get = function (fqdn)
local f,n
if fqdn then
- f = io.popen("/bin/hostname -f")
+ f = io.popen("/bin/hostname -f 2>/dev/null")
n = f:read("*a")
f:close()
end