diff options
Diffstat (limited to 'sys-apps/sysvinit/sysvinit-2.97.ebuild')
-rw-r--r-- | sys-apps/sysvinit/sysvinit-2.97.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.97.ebuild b/sys-apps/sysvinit/sysvinit-2.97.ebuild index 4dd4d992de92..218791b88a28 100644 --- a/sys-apps/sysvinit/sysvinit-2.97.ebuild +++ b/sys-apps/sysvinit/sysvinit-2.97.ebuild @@ -125,7 +125,7 @@ pkg_postinst() { # Reload init to fix unmounting problems of / on next reboot. # This is really needed, as without the new version of init cause init # not to quit properly on reboot, and causes a fsck of / on next reboot. - if [[ ${ROOT} == / ]] ; then + if [[ -z ${ROOT} ]] ; then if [[ -e /dev/initctl ]] && [[ ! -e /run/initctl ]] ; then ln -s /dev/initctl /run/initctl \ || ewarn "Failed to set /run/initctl symlink!" |