View | Details | Raw Unified | Return to bug 4943
Collapse All | Expand All

(-)transport.hxx~ (-1 / +4 lines)
Lines 215-221 public: Link Here
215
	while ((mb=getmntent (fp))!=NULL)
215
	while ((mb=getmntent (fp))!=NULL)
216
	{   if (stat (mb->mnt_fsname,&msb) < 0) continue; // corrupted line?
216
	{   if (stat (mb->mnt_fsname,&msb) < 0) continue; // corrupted line?
217
	    if (msb.st_rdev == fsb.st_rdev)
217
	    if (msb.st_rdev == fsb.st_rdev)
218
	    {	ret = -1;
218
	    {
219
		if ( (strcmp("subfs", mb->mnt_type) == 0) || (strcmp("supermount", mb->mnt_type) == 0) )
220
		    return ret;
221
		ret = -1;
219
		if ((pid = fork()) == (pid_t)-1)	break;
222
		if ((pid = fork()) == (pid_t)-1)	break;
220
		if (pid == 0) execl ("/bin/umount","umount",mb->mnt_dir,NULL);
223
		if (pid == 0) execl ("/bin/umount","umount",mb->mnt_dir,NULL);
221
		while (1)
224
		while (1)

Return to bug 4943