* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
sigemptyset (&set);
sigaddset (&set, SIGTSTP);
sigprocmask (SIG_BLOCK, &set, NULL);
}
sigemptyset (&set);
sigaddset (&set, SIGTSTP);
sigprocmask (SIG_BLOCK, &set, NULL);
}
- chdir ("/");
- act.sa_handler = SIG_DFL;
- sigaction (SIGCHLD, &act, NULL);
- break;
+ chdir ("/");
+ act.sa_handler = SIG_DFL;
+ sigaction (SIGCHLD, &act, NULL);
+ break;
sigaction (SIGCONT, &act, NULL);
execl (EXECSHELL, "sh", "-c", cmd, NULL);
sigaction (SIGCONT, &act, NULL);
execl (EXECSHELL, "sh", "-c", cmd, NULL);
#ifndef USE_IMAP
/* wait for the (first) child process to finish */
waitpid (thepid, &rc, 0);
#ifndef USE_IMAP
/* wait for the (first) child process to finish */
waitpid (thepid, &rc, 0);