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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
