chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compiling.
[elogind.git]
/
src
/
login
/
loginctl.c
diff --git
a/src/login/loginctl.c
b/src/login/loginctl.c
index ec102ae4c7c7e62e0d9ab2f82ceecf2d2250ef08..6c173ed61a8bf362c16e38d5eef96fa2e794ee2d 100644
(file)
--- 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 (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(
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);
}
true,
NULL);
}
+#endif
}
return 0;
}
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 (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,
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);
SD_JOURNAL_LOCAL_ONLY,
true,
NULL);
+#endif
}
finish:
}
finish:
@@
-1272,7
+1274,11
@@
static int parse_argv(int argc, char *argv[]) {
break;
case 'o':
break;
case 'o':
+#if 0
arg_output = output_mode_from_string(optarg);
arg_output = output_mode_from_string(optarg);
+#else
+ arg_output = -1;
+#endif
if (arg_output < 0) {
log_error("Unknown output '%s'.", optarg);
return -EINVAL;
if (arg_output < 0) {
log_error("Unknown output '%s'.", optarg);
return -EINVAL;