chiark / gitweb /
systemctl: clearer error message for missing install information
[elogind.git] / src / systemctl / systemctl.c
index ae6113089d0c297b4fa6402eabcc551b1531afc9..133a27c67e35adb2503ce0aee5d4b2bf46f23459 100644 (file)
@@ -4209,7 +4209,7 @@ static int enable_unit(DBusConnection *bus, char **args) {
         }
 
         if (carries_install_info == 0)
-                log_warning("Warning: unit files do not carry install information. No operation executed.");
+                log_warning("The unit files have no [Install] section. They are not meant to be enabled using systemctl.");
 
 finish:
         if (m)