diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index aa71a5b83..4b10d522e 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -70,15 +70,7 @@ get_config() { # This block is avoided for compile for export and when the user isn't root # if [ "$3" = Yes ]; then - if [ -n "$LOGFILE" ]; then - if [ -n "$(syslog_circular_buffer)" ]; then - g_logread="logread | tac" - elif [ -r $LOGFILE ]; then - g_logread="tac $LOGFILE" - else - fatal_error "LOGFILE ($LOGFILE) does not exist!" - fi - fi + setup_logread fi if [ $g_family -eq 4 ]; then