@@ -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
if [ ${REMOVE_APP} ]; then