mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
Minor cleanup
No need to assign result = 0 since that is the default, also no other case sets result to OK. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -317,7 +317,6 @@ static void cb(uev_t *w, void *UNUSED(arg), int UNUSED(events))
|
||||
|
||||
case INIT_CMD_GET_RUNLEVEL:
|
||||
rq.runlevel = runlevel;
|
||||
result = 0;
|
||||
break;
|
||||
|
||||
case INIT_CMD_ACK:
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
#define INIT_CMD_START_SVC 10
|
||||
#define INIT_CMD_STOP_SVC 11
|
||||
#define INIT_CMD_RELOAD_SVC 12 /* SIGHUP service */
|
||||
#define INIT_CMD_RESTART_SVC 13 /* STOP + START service */
|
||||
#define INIT_CMD_RESTART_SVC 13 /* STOP + START service */
|
||||
#define INIT_CMD_QUERY_INETD 14
|
||||
#define INIT_CMD_EMIT 15
|
||||
#define INIT_CMD_GET_RUNLEVEL 16
|
||||
|
||||
Reference in New Issue
Block a user