static void cmd_exec(void)
{
- int st;
unsigned char *progname, *arguments;
progname = strtok(args, " \t\n");
arguments = strtok(NULL, "");
/*printf("exec: %s %s\n", progname, arguments ? arguments : "");*/
- st = exec(progname, arguments);
+ (void)exec(progname, arguments);
printf("exec error: %s\n", strerror(errno));
}