#ifdef CONFIG_SHOW_ACTIVITY
while (!tstc()) {
- extern void show_activity(int arg);
show_activity(0);
WATCHDOG_RESET();
}
continue;
}
- rc = cmd_process(flag, argc, argv, &repeatable);
+ if (cmd_process(flag, argc, argv, &repeatable))
+ rc = -1;
/* Did the user stop this? */
if (had_ctrlc ())