Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > eabe5b9396d21660e3553b0acb725875 > files > 7

sysvinit-2.87-4.dsf.fc13.src.rpm

--- sysvinit-2.86/src/init.c.single	2005-12-21 12:21:04.000000000 -0500
+++ sysvinit-2.86/src/init.c	2005-12-21 12:21:40.000000000 -0500
@@ -1153,7 +1153,7 @@
 		 *	See if we have a single user entry.
 		 */
 		for(old = newFamily; old; old = old->next)
-			if (strpbrk(old->rlevel, "S")) break;
+			if (strpbrk(old->rlevel, "S") && !ISPOWER(old->action)) break;
 		if (old == NULL)
 			snprintf(buf, sizeof(buf), "~~:S:wait:%s -l\n", SHELL);
 		else