Commit 85ad5b18 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

systemctl: break output properly for 80ch terminals

parent 1cba2c90
......@@ -14,11 +14,6 @@
<kay> when does it do that?
<Viking-Ice> if you disable the service
* fixup var-run/var-lock tmpfs mounts. we need:
touch /var/run/utmp
chown root:utmp /var/run/utmp
mkdir -p /var/lock/subsys
* have a simple syslog bridge providing /dev/log and forward messages
to /dev/kmsg. at the moment the real syslog can be started, the bridge
is stopped and the open /dev/log fd to the real syslog. that way we
......@@ -78,7 +73,9 @@
* nomodules nach udev umziehen
* nologin nach /var/run
* make sysinit honour forcefsck/fastboot from the kernel command line
* sysv functions should color when stdout is tty, not stdin
......@@ -351,10 +351,10 @@ static int list_units(DBusConnection *bus, char **args, unsigned n) {
if (isatty(STDOUT_FILENO)) {
printf("\nLOAD = Load State, reflects whether the unit configuration was properly loaded.\n"
"ACTIVE = Active State, the high-level unit activation state, i.e. generalization of the substate.\n"
"SUB = Substate, the low-level unit activation state, possible values depend on unit type.\n"
"JOB = Job, shows pending jobs for the unit.\n");
printf("\nLOAD = Reflects whether the unit definition was properly loaded.\n"
"ACTIVE = The high-level unit activation state, i.e. generalization of SUB.\n"
"SUB = The low-level unit activation state, values depend on unit type.\n"
"JOB = Pending job for the unit.\n");
if (arg_all)
printf("\n%u units listed.\n", c);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment