Remove non-root requirement for clear script

This commit is contained in:
Alexandre CATTEAU 2022-08-19 10:11:00 +02:00
parent 0e0d7fb89c
commit 8daacd295f

View File

@ -7,11 +7,6 @@
# Make sure that AWK rules file is present, readable and correctly set in this script's parameters # Make sure that AWK rules file is present, readable and correctly set in this script's parameters
init() { 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 source variables.conf
repo_db_file=$repo_name.db.tar repo_db_file=$repo_name.db.tar
repo_db_filesfile=$repo_name.files.tar repo_db_filesfile=$repo_name.files.tar