mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
dbg for debug
This commit is contained in:
@@ -394,6 +394,7 @@ skynet_command(struct skynet_context * context, const char * cmd , const char *
|
||||
} else if (param[0] == '.') {
|
||||
handle = skynet_handle_findname(param+1);
|
||||
} else {
|
||||
skynet_error(context, "Can't kill %s",param);
|
||||
// todo : kill global service
|
||||
}
|
||||
if (handle) {
|
||||
|
||||
@@ -84,7 +84,7 @@ skynet_start(struct skynet_config * config) {
|
||||
}
|
||||
ctx = skynet_context_new("snlua", "launcher");
|
||||
if (ctx == NULL) {
|
||||
fprintf(stderr,"launch launcher error");
|
||||
fprintf(stderr,"launch launcher error\n");
|
||||
exit(1);
|
||||
}
|
||||
ctx = skynet_context_new("snlua", config->start);
|
||||
|
||||
Reference in New Issue
Block a user