[Bug 377265] Re: etckeeper fails on commit, if "hostname -f" returns error ("hostname: Unknown host")

Thierry Carrez thierry.carrez at ubuntu.com
Mon May 18 09:57:21 UTC 2009


Something like

- hostname=`hostname -f`
+ hostname=`hostname -f 2>/dev/null || hostname`

should do it.

** Changed in: etckeeper (Ubuntu)
       Status: Confirmed => Triaged

-- 
etckeeper fails on commit, if "hostname -f" returns error ("hostname: Unknown host")
https://bugs.launchpad.net/bugs/377265
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list