Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 189686 | Differences between
and this patch

Collapse All | Expand All

(-)baselayout-2.0.0_rc3.orig/src/rc.c (-1 / +8 lines)
Lines 378-384 Link Here
378
       char *p;
378
       char *p;
379
       char *value = NULL;
379
       char *value = NULL;
380
       int i;
380
       int i;
381
                       
381
               
382
        char *rc_sys = getenv ("RC_SYS");
383
384
        /* VPS systems don't have a /proc/cmdline */
385
        if (rc_sys && strcmp (rc_sys, "VPS") == 0) {
386
               return (NULL);          
387
       }
388
382
       if (! (fp = fopen ("/proc/cmdline", "r"))) {
389
       if (! (fp = fopen ("/proc/cmdline", "r"))) {
383
               eerror ("failed to open `/proc/cmdline': %s", strerror (errno));
390
               eerror ("failed to open `/proc/cmdline': %s", strerror (errno));
384
               return (NULL);
391
               return (NULL);

Return to bug 189686