diff --git a/sys-apps/magic-pax/files/magic-pax b/sys-apps/magic-pax/files/magic-pax index 11cd8d9f7..773ba8452 100755 --- a/sys-apps/magic-pax/files/magic-pax +++ b/sys-apps/magic-pax/files/magic-pax @@ -8,9 +8,9 @@ if [ -z "${USERID}" ] && [ -n "$(id -ru)" ]; then USERID="$(id -ru)" fi if [ -n "${USERID}" ] && [ "${USERID}" != "0" ]; then - ROOT=yes -elif [ -z "${USERID}" ]; then ROOT=no +elif [ -z "${USERID}" ]; then + ROOT=yes fi #usage check