chiark / gitweb /
systemctl: remove debug log message
[elogind.git] / src / systemctl / systemctl.c
index fa6447607a24b0a7c52d8c75e1ca8d356a7ed717..3fcc066a9f91ce69f4d18eb11679bdedccfeef8f 100644 (file)
@@ -3654,6 +3654,8 @@ static int show_all(
         if (r < 0)
                 return r;
 
+        pager_open_if_enabled();
+
         c = (unsigned) r;
 
         qsort_safe(unit_infos, c, sizeof(UnitInfo), compare_unit_info);
@@ -3668,8 +3670,6 @@ static int show_all(
                 if (!p)
                         return log_oom();
 
-                printf("%s -> '%s'\n", u->id, p);
-
                 r = show_one(verb, bus, p, show_properties, new_line, ellipsized);
                 if (r != 0)
                         return r;