diff --git a/clear-repo.sh b/clear-repo.sh index 0112032..b4ecf3c 100755 --- a/clear-repo.sh +++ b/clear-repo.sh @@ -7,11 +7,6 @@ # Make sure that AWK rules file is present, readable and correctly set in this script's parameters init() { - # Only run if the user is not root - if [[ $USER = 'root' ]] ; then - echo "You cannot run this script as root!" - exit 1 - fi source variables.conf repo_db_file=$repo_name.db.tar repo_db_filesfile=$repo_name.files.tar