chiark / gitweb /
hostnamed: prevent it from crashing if the chassis is unknown
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 5 Nov 2013 23:30:29 +0000 (00:30 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 5 Nov 2013 23:30:29 +0000 (00:30 +0100)
commit95b015de3849d8d8d03d9441ae1682a04c38833b
tree421cd372dae5ac539327bbacd963ca7548357a96
parent82de16f92ca5259e9ddb4f328f086cb6a9f043b0
hostnamed: prevent it from crashing if the chassis is unknown

When fallback_chassis would return null it led to a crash and an
empty result in hostnamectl. Only seen after the sd-port.
src/hostname/hostnamed.c