No use checkinf if env is true in the branch where it is false (Coverity CID 1164462).
This commit is contained in:
parent
8478327498
commit
992c7a70d7
@ -2788,7 +2788,7 @@ int telinit(char *progname, int argc, char **argv)
|
||||
if (!strchr("0123456789SsQqAaBbCcUu", argv[optind][0]))
|
||||
usage(progname);
|
||||
request.cmd = INIT_CMD_RUNLVL;
|
||||
request.runlevel = env ? 0 : argv[optind][0];
|
||||
request.runlevel = argv[optind][0];
|
||||
request.sleeptime = sltime;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user