aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2016-02-26 23:35:07 +0200
committerSergey Poznyakoff <gray@gnu.org>2016-02-26 23:35:07 +0200
commit56baeb57297061da2015a640773e02780b1d7f6c (patch)
tree8f3151e7912477dd126200342e8fdae9e714dfc3 /src
parent23fd647f3f523ceefd8f886d57bf692e6d4024a6 (diff)
downloadpies-56baeb57297061da2015a640773e02780b1d7f6c.tar.gz
pies-56baeb57297061da2015a640773e02780b1d7f6c.tar.bz2
Minor fix
Diffstat (limited to 'src')
-rw-r--r--src/piesctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/piesctl.c b/src/piesctl.c
index a99de43..43a6b49 100644
--- a/src/piesctl.c
+++ b/src/piesctl.c
@@ -1942,13 +1942,13 @@ static void
telinit_parse (struct telinit_parser *parser)
{
char const *tok = require_token (parser->state);
if (strcmp (tok, "runlevel") == 0)
telinit_parse_runlevel (parser);
- if (strcmp (tok, "environ") == 0)
+ else if (strcmp (tok, "environ") == 0)
telinit_parse_environ (parser);
else
parse_error (_("unrecognized subcommand: %s"), tok);
}
static void

Return to:

Send suggestions and report system problems to the System administrator.