Need root access
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user