Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 10219bdab71a4ca8bcb9e1cc5554ee53 > files > 17

sysvinit-2.86-6mdv2008.0.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