]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
xdg-autostart: Fix info message if Type= is not Application
authorBenjamin Berg <bberg@redhat.com>
Tue, 23 Jun 2020 08:38:08 +0000 (10:38 +0200)
committerBenjamin Berg <bberg@redhat.com>
Tue, 23 Jun 2020 09:04:44 +0000 (11:04 +0200)
The message was copy-pasted and not changed to correctly specify what
the problem was.

src/xdg-autostart-generator/xdg-autostart-service.c

index 6d10d7052b5b7c88477450b0be4167138ac86bcd..6b46cbaec2508ee8c99034966a074f2faa0e28ed 100644 (file)
@@ -496,7 +496,7 @@ int xdg_autostart_service_generate_unit(
 
         /* Nothing to do if type is not Application. */
         if (!streq_ptr(service->type, "Application")) {
-                log_info("Not generating service for XDG autostart %s, it is hidden.", service->name);
+                log_info("Not generating service for XDG autostart %s, only Type=Application is supported.", service->name);
                 return 0;
         }