chiark / gitweb /
timedatectl: many fixes
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Apr 2015 10:15:53 +0000 (12:15 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Apr 2015 10:17:41 +0000 (12:17 +0200)
commitd95a74ed1191bb09f5be57b0619d3d77708e019d
tree52a09c606e810b4925d77e8d338c9400531b6ae2
parentc4f54721175bde35e2051d61d3d23285def9619d
timedatectl: many fixes

- print runtime warnings with log_warning()

- save and restore $TZ properly

- Get rid of exit() pseudo error handling

- Using time() is OK when connecting to a local container or when
  showing data about local host, but certainly not for remote hosts.
src/timedate/timedatectl.c