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

(-)a/splashutils-1.5.4.4/src/libfbsplash.c (-1 / +3 lines)
Lines 495-501 int fbsplash_cache_cleanup(char **profile_save) Link Here
495
495
496
nosave:
496
nosave:
497
	/* Clear a stale mtab entry that might have been created by the initscripts. */
497
	/* Clear a stale mtab entry that might have been created by the initscripts. */
498
	system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab");
498
	if(lstat("/etc/mtab", &buf) != 0 || !S_ISLNK(buf.st_mode)) {
499
		system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab");
500
	}
499
501
500
	umount2(what, MNT_DETACH);
502
	umount2(what, MNT_DETACH);
501
	return err;
503
	return err;

Return to bug 417439