rc-status: Remove noise from ini-formatted output
Otherwise this would create the following output: rc-status -f ini * Caching service dependencies ... [ ok ] [default] dbus = started NetworkManager = started syslog-ng = started ... This fixes #364.
This commit is contained in:
parent
62bc463c63
commit
4b2a61f1b8
@ -291,9 +291,10 @@ int main(int argc, char **argv)
|
||||
goto exit;
|
||||
/* NOTREACHED */
|
||||
case 'f':
|
||||
if (strcasecmp(optarg, "ini") == 0)
|
||||
if (strcasecmp(optarg, "ini") == 0) {
|
||||
format = FORMAT_INI;
|
||||
else
|
||||
setenv("EINFO_QUIET", "YES", 1);
|
||||
} else
|
||||
eerrorx("%s: invalid argument to --format switch\n", applet);
|
||||
break;
|
||||
case 'l':
|
||||
|
Loading…
Reference in New Issue
Block a user