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

(-)src/misc.c.old (-2 / +3 lines)
Lines 469-482 Link Here
469
		break;
469
		break;
470
	}
470
	}
471
	/* eject -- only if ipod_device and are EJECT_BIN available */
471
	/* eject -- only if ipod_device and are EJECT_BIN available */
472
	eject_bin = which ("eject");
472
	eject_bin = which ("eject_ipod.sh");
473
	
473
	if (ipod_device && eject_bin)
474
	if (ipod_device && eject_bin)
474
	{
475
	{
475
	    pid = fork ();
476
	    pid = fork ();
476
	    switch (pid)
477
	    switch (pid)
477
	    {
478
	    {
478
	    case 0: /* child */
479
	    case 0: /* child */
479
		execl (eject_bin, "eject", ipod_device, NULL);
480
		execl (eject_bin, "eject_ipod.sh", ipod_device, NULL);
480
		exit (1); /* this is only reached in case of an error */
481
		exit (1); /* this is only reached in case of an error */
481
		break;
482
		break;
482
	    case -1: /* parent and error */
483
	    case -1: /* parent and error */

Return to bug 124728