diff --git a/man/openrc-run.8 b/man/openrc-run.8 index 0c977f963..652ca1de8 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -563,7 +563,7 @@ A special variable to describe the system more. Possible values are OPENVZ, XENU, XEN0, UML and VSERVER. .It Va RC_PREFIX In a Gentoo Prefix installation, this variable contains the prefix -offset. Otherwise it is undefined. +offset. Otherwise it is empty string. .It Va RC_UNAME The result of `uname -s`. .It Va RC_CMD diff --git a/src/shared/misc.c b/src/shared/misc.c index 28f4e2352..b55e41e0d 100644 --- a/src/shared/misc.c +++ b/src/shared/misc.c @@ -197,9 +197,7 @@ env_config(void) if (sys) setenv("RC_SYS", sys, 1); -#ifdef PREFIX setenv("RC_PREFIX", RC_PREFIX, 1); -#endif /* Some scripts may need to take a different code path if Linux/FreeBSD, etc