Skip to content

Commit

Permalink
Prepare release 0.1.0
Browse files Browse the repository at this point in the history
enable check for root
  • Loading branch information
nerro committed Apr 6, 2015
1 parent 99f412b commit 432c0b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javinla.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ function subcommand_version() {
#------------------------------------------------------------------------------
# SCRIPT ENTRYPOINT
#------------------------------------------------------------------------------
#if [[ $EUID -ne 0 ]]; then
# error "you cannot perform this operation unless you are root."
#fi
if [[ $EUID -ne 0 ]]; then
error "you cannot perform this operation unless you are root."
fi

# exit if there are no arguments
if [[ $# -eq 0 ]]; then
Expand Down

0 comments on commit 432c0b6

Please sign in to comment.