diff options
Diffstat (limited to 'common/hush.c')
| -rw-r--r-- | common/hush.c | 9 | 
1 files changed, 3 insertions, 6 deletions
| diff --git a/common/hush.c b/common/hush.c index e8e24d7de..6cb921d4f 100644 --- a/common/hush.c +++ b/common/hush.c @@ -1679,13 +1679,10 @@ static int run_pipe_real(struct pipe *pi)  				rcode = x->function(child);  #else  				/* OK - call function to do the command */ - -				rcode = (cmdtp->cmd) -(cmdtp, flag,child->argc-i,&child->argv[i]); -				if ( !cmdtp->repeatable ) +				rcode = cmd_call(cmdtp, flag,  child->argc-i, +						 &child->argv[i]); +				if (!cmdtp->repeatable)  					flag_repeat = 0; - -  #endif  				child->argv-=i;  /* XXX restore hack so free() can work right */  #ifndef __U_BOOT__ |