summarylogtreecommitdiffstats
path: root/webgoat.sh
blob: cbcd8da31a95b2097ee36cc9833ef0575538d8db (plain)
1
2
3
4
5
6
7
#!/bin/sh
if [ "$(id -u)" == "0" ]; then
    echo 'You really should not run this application as root.'
    echo 'If you know what you are doing, use "java -jar /opt/webgoat/webgoat.jar" command instead.'
    exit 1
fi
/usr/bin/java -jar /opt/webgoat/webgoat.jar $@