mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Merge pull request #1526 from alignan/pull/fix-shell-exec-no-process-name
Fixes error when processes name are not used
This commit is contained in:
commit
5c7bc22321
@ -116,11 +116,13 @@ PROCESS_THREAD(shell_exec_process, ev, data)
|
||||
shell_output_str(&exec_command, print, symbol);
|
||||
|
||||
if(ret == ELFLOADER_OK) {
|
||||
#if !PROCESS_CONF_NO_PROCESS_NAMES
|
||||
int i;
|
||||
for(i = 0; elfloader_autostart_processes[i] != NULL; ++i) {
|
||||
shell_output_str(&exec_command, "exec: starting process ",
|
||||
elfloader_autostart_processes[i]->name);
|
||||
}
|
||||
#endif
|
||||
autostart_start(elfloader_autostart_processes);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user