Skip to content
Snippets Groups Projects
Commit aa2670f8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Allow root user

parent d27efc5d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment