Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch(fork()) {
- case 0:
- #ifndef DEBUG
- /* don't print on console if the ethtool cannot disable some offloads unless you are in debug mode */
- close(2);
- #endif
- execvp(param[0], param);
- safe_free_mem(param, ¶m_length, command);
- _exit(EINVALID);
- case -1:
- safe_free_mem(param, ¶m_length, command);
- default:
- safe_free_mem(param, ¶m_length, command);
- wait(&ret_val);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement