Skip to content

Commit e920368

Browse files
authored
Merge pull request #88 from sparagi/86-unclear-error-message-on-root-invocation
Clarify how to run as a non-root user
2 parents 543822e + f798d31 commit e920368

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SetupMinecraft.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ function read_with_prompt {
4747
done
4848
}
4949

50-
# Check to make sure we aren't being ran as root
50+
# Check to make sure we aren't running as root
5151
if [ $(id -u) = 0 ]; then
52-
echo "This script is not meant to be ran as root or sudo. Please run normally with ./SetupMinecraft.sh. If you know what you are doing and want to override this edit this check out of SetupMinecraft.sh. Exiting..."
52+
echo "This script is not meant to be run as root. Please run ./SetupMinecraft.sh as a non-root user, without sudo; the script will call sudo when it is needed. Exiting..."
5353
exit 1
5454
fi
5555

0 commit comments

Comments
 (0)