]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/notify/notify.c
libudev: hide definition of struct udev_list from other libudev components
[thirdparty/systemd.git] / src / notify / notify.c
index fff5233b0cb8d6792523debd4dee0856c49e7734..750529bbbd39985ebf6a7d79d7e76337c538bba0 100644 (file)
@@ -151,6 +151,7 @@ static int run(int argc, char* argv[]) {
         unsigned i = 0;
         int r;
 
+        log_show_color(true);
         log_parse_environment();
         log_open();
 
@@ -192,7 +193,7 @@ static int run(int argc, char* argv[]) {
         if (!n)
                 return log_oom();
 
-        /* If this is requested change to the requested UID/GID. Note thta we only change the real UID here, and leave
+        /* If this is requested change to the requested UID/GID. Note that we only change the real UID here, and leave
            the effective UID in effect (which is 0 for this to work). That's because we want the privileges to fake the
            ucred data, and sd_pid_notify() uses the real UID for filling in ucred. */