Add patch from #3009

git-svn-id: svn://svn.openwrt.org/openwrt/packages@10211 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-01-16 11:31:57 +00:00
parent 37f876052c
commit b0f0dbb6b5

View File

@ -0,0 +1,18 @@
--- cmdpad-0.0.3/src/command.c.orig 2003-03-29 17:54:12.000000000 +0100
+++ cmdpad-0.0.3/src/command.c 2008-01-12 05:41:22.000000000 +0100
@@ -68,6 +68,7 @@
void exec( char * command)
{
+ int status;
if( fork() == 0) {
char ** tmp ;
int i ;
@@ -88,6 +89,7 @@
perror( "ERROR: execv") ;
exit( 1) ;
} // end if( fork())
+ wait(&status);
}
int getNumberofEntry()