File showconsole-1.16.dif of Package sysvinit

--- libconsole.c
+++ libconsole.c	2012-03-01 09:49:44.493932912 +0000
@@ -902,16 +902,6 @@ void safeIO (void)
 #ifdef DEBUG_SIGIO
 	if (nsigio < 0)
 	   goto skip;
-#else
-	if (nsigio < 0) {
-	    /*
-	     * Maybe access() does lie under kernel 2.6
-	     * or the root file system is rw mounted
-	     */
-	    const char *runlevel = getenv("RUNLEVEL");
-	    if (runlevel && (*runlevel < '0' || *runlevel > '6'))
-		goto skip;
-	}
 #endif
 	if (access(BOOT_LOGFILE, W_OK) < 0) {
 	    if (errno != ENOENT && errno != EROFS)
openSUSE Build Service is sponsored by