aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rc/rc-status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c
index d2f66cb4..cd32c091 100644
--- a/src/rc/rc-status.c
+++ b/src/rc/rc-status.c
@@ -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':