diff options
-rw-r--r-- | man/systemd.special.xml | 2 | ||||
-rw-r--r-- | src/timedate/timedatectl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd.special.xml b/man/systemd.special.xml index c90b0366c1..e4700d950b 100644 --- a/man/systemd.special.xml +++ b/man/systemd.special.xml @@ -852,7 +852,7 @@ <varlistentry> <term><filename>system.slice</filename></term> <listitem> - <para>By default, all services services started by + <para>By default, all system services started by <command>systemd</command> are found in this slice.</para> </listitem> </varlistentry> diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c index 8ec6adb493..1c3f03c803 100644 --- a/src/timedate/timedatectl.c +++ b/src/timedate/timedatectl.c @@ -96,7 +96,7 @@ static void print_status_info(const StatusInfo *i) { old_tz = strdupa(tz); /* Set the new $TZ */ - if (i->timezone && setenv("TZ", i->timezone, true) < 0) + if (setenv("TZ", isempty(i->timezone) ? "UTC" : i->timezone, true) < 0) log_warning_errno(errno, "Failed to set TZ environment variable, ignoring: %m"); else tzset(); |