From 330627e73eeacb9fd2653757b761a002fc7a4b1f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 22 Jan 2010 09:48:30 +0000 Subject: Bug fix for hostname change. --- hostname-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hostname-model.lua') 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 -- cgit v1.2.3