Commit 50e26153 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Added exit statement after system()

parent 5c66b9c5
......@@ -50,6 +50,10 @@ void fork_program( char *program )
if ( pid == 0 )
{
system( program );
/*
* Goodbye!
*/
exit( 0 );
}
else if (pid < 0)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment