Hello, I use something like this: ret = system("tar ...."); if(ret) eprintf("tar failed with error %d\n",ret); Bye Uwe > how did you check the exit status like this ? > > while (something) { > int ret = system("foo"); > > if (WIFSIGNALED(ret) && > (WTERMSIG(ret) == SIGINT || WTERMSIG(ret) > == SIGQUIT)) > break; > } > > re, > wh >