Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 532616
Collapse All | Expand All

(-)policycoreutils-2.0.83/run_init/run_init.c.old (+7 lines)
Lines 414-423 int main(int argc, char *argv[]) Link Here
414
	 * execvp or using a exec(1) recycles pty's, and does not open a new
414
	 * execvp or using a exec(1) recycles pty's, and does not open a new
415
	 * one. 
415
	 * one. 
416
	 */
416
	 */
417
#ifdef USE_OPEN_INIT_PTY
417
	if (execvp("/usr/sbin/open_init_pty", argv)) {
418
	if (execvp("/usr/sbin/open_init_pty", argv)) {
418
		perror("execvp");
419
		perror("execvp");
419
		exit(-1);
420
		exit(-1);
420
	}
421
	}
422
#else
423
	if (execvp(argv[1], argv + 1)) {
424
		perror("execvp");
425
		exit(-1);
426
	}
427
#endif
421
	return 0;
428
	return 0;
422
429
423
}				/* main() */
430
}				/* main() */

Return to bug 532616