summaryrefslogtreecommitdiffstats
path: root/src/update-done
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-01-17 07:12:28 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-01-31 17:13:44 +0100
commitd2acb93dc52b23a9e5d36dda48c1988aa6e9adf1 (patch)
tree011b4f6b2ca1ad39cc964ef66f3f5c6e2d91608e /src/update-done
parentlog: make tools also read the kernel command line when run as a service (diff)
downloadsystemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.tar.xz
systemd-d2acb93dc52b23a9e5d36dda48c1988aa6e9adf1.zip
tree-wide: enable colorized logging for daemons when run in console
It may be useful when debugging daemons.
Diffstat (limited to 'src/update-done')
-rw-r--r--src/update-done/update-done.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update-done/update-done.c b/src/update-done/update-done.c
index 212892527e..6518830717 100644
--- a/src/update-done/update-done.c
+++ b/src/update-done/update-done.c
@@ -41,7 +41,7 @@ int main(int argc, char *argv[]) {
struct stat st;
int r, q = 0;
- log_setup_service();
+ log_setup();
if (stat("/usr", &st) < 0) {
log_error_errno(errno, "Failed to stat /usr: %m");