mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00: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:
1 parent
bab13c9cef
commit
0f61b0792b
2 files changed
+1
-2
No files matched your search
@@ -317,7 +317,6 @@ static void cb(uev_t *w, void *UNUSED(arg), int UNUSED(events))
|
|||||||
|
|
||||||
case INIT_CMD_GET_RUNLEVEL:
|
case INIT_CMD_GET_RUNLEVEL:
|
||||||
rq.runlevel = runlevel;
|
rq.runlevel = runlevel;
|
||||||
result = 0;
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case INIT_CMD_ACK:
|
case INIT_CMD_ACK:
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
#define INIT_CMD_START_SVC 10
|
#define INIT_CMD_START_SVC 10
|
||||||
#define INIT_CMD_STOP_SVC 11
|
#define INIT_CMD_STOP_SVC 11
|
||||||
#define INIT_CMD_RELOAD_SVC 12 /* SIGHUP service */
|
#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_QUERY_INETD 14
|
||||||
#define INIT_CMD_EMIT 15
|
#define INIT_CMD_EMIT 15
|
||||||
#define INIT_CMD_GET_RUNLEVEL 16
|
#define INIT_CMD_GET_RUNLEVEL 16
|
||||||
|
|||||||
Reference in new issue
Block a user