Allow root user
This commit is contained in:
parent
d27efc5dba
commit
aa2670f86e
|
@ -146,8 +146,10 @@ if [ ! $CURR_USERNAME ]; then
|
|||
fi
|
||||
|
||||
if [ ! -d /home/$CURR_USERNAME ]; then
|
||||
echo $"Error: User $CURR_USERNAME does not exist"
|
||||
exit 2
|
||||
if [[ "$CURR_USERNAME" != "root" ]]; then
|
||||
echo $"Error: User $CURR_USERNAME does not exist"
|
||||
exit 2
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ${REMOVE_APP} ]; then
|
||||
|
|
Loading…
Reference in New Issue