"include/svn:/svn.code.sf.net/p/irrlicht/code/trunk@5206" did not exist on "2b919736c77f86201832ba49e9155578f3038228"
Commit b4dd11e1 authored by Peter Parente's avatar Peter Parente Committed by GitHub

Merge pull request #420 from minrk/fix-check-root

start.sh: fix check for if we are root
parents 608d828c 9e6b4a53
......@@ -5,7 +5,7 @@
set -e
# Handle special flags if we're root
if [ $UID == 0 ] ; then
if [ $(id -u) == 0 ] ; then
# Change UID of NB_USER to NB_UID if it does not match
if [ "$NB_UID" != $(id -u $NB_USER) ] ; then
echo "Set user UID to: $NB_UID"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment