Need root access

This commit is contained in:
Pratik
2019-09-24 14:42:43 +05:30
parent 24ba825eeb
commit 3d1772bdb8

View File

@@ -7,6 +7,12 @@
# Give options to process only a certain number of day's log
# Check if mawk is available -> if yes, use that
if [[ "$(id -u)" != "0" ]]
then
echo "Need root access to check /var/log/ufw.log file"
exit 1
fi
# Since changing language improves performance
LC_ALL=C