mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Improve check for circular log buffer
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
460f4bc5b7
commit
27d94c8921
@ -158,16 +158,20 @@ syslog_circular_buffer() {
|
||||
case $path in
|
||||
syslogd|*/syslogd)
|
||||
for arg in $args; do
|
||||
if [ x$arg = x-C ]; then
|
||||
return 0
|
||||
fi
|
||||
case $arg in
|
||||
-C*)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
;;
|
||||
logd|*/logd)
|
||||
for arg in $args; do
|
||||
if [ x$arg = x-S ]; then
|
||||
return 0
|
||||
fi
|
||||
case $arg in
|
||||
-S*)
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user