summaryrefslogtreecommitdiff
path: root/src/login/loginctl.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
commit7b061de2d0601a33f7246c4b909f30ddc44d7ab6 (patch)
tree6b6378f2b4a2499b274ca1fd8c154554635e8156 /src/login/loginctl.c
parent679327ab991edd0a13a0cff335ea5c9c8a7ef705 (diff)
Compiling.
Diffstat (limited to 'src/login/loginctl.c')
-rw-r--r--src/login/loginctl.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/login/loginctl.c b/src/login/loginctl.c
index ec102ae4c..6c173ed61 100644
--- a/src/login/loginctl.c
+++ b/src/login/loginctl.c
@@ -492,7 +492,7 @@ static int print_session_status_info(sd_bus *bus, const char *path, bool *new_li
if (i.scope) {
printf("\t Unit: %s\n", i.scope);
show_unit_cgroup(bus, "org.freedesktop.systemd1.Scope", i.scope, i.leader);
-
+#if 0
if (arg_transport == BUS_TRANSPORT_LOCAL) {
show_journal_by_unit(
@@ -508,6 +508,7 @@ static int print_session_status_info(sd_bus *bus, const char *path, bool *new_li
true,
NULL);
}
+#endif
}
return 0;
@@ -576,7 +577,7 @@ static int print_user_status_info(sd_bus *bus, const char *path, bool *new_line)
if (i.slice) {
printf("\t Unit: %s\n", i.slice);
show_unit_cgroup(bus, "org.freedesktop.systemd1.Slice", i.slice, 0);
-
+#if 0
show_journal_by_unit(
stdout,
i.slice,
@@ -589,6 +590,7 @@ static int print_user_status_info(sd_bus *bus, const char *path, bool *new_line)
SD_JOURNAL_LOCAL_ONLY,
true,
NULL);
+#endif
}
finish:
@@ -1272,7 +1274,11 @@ static int parse_argv(int argc, char *argv[]) {
break;
case 'o':
+#if 0
arg_output = output_mode_from_string(optarg);
+#else
+ arg_output = -1;
+#endif
if (arg_output < 0) {
log_error("Unknown output '%s'.", optarg);
return -EINVAL;