pgstef / check_pgbackrest

pgBackRest backup check plugin for Nagios
PostgreSQL License
37 stars 14 forks source link

Fix enable-internal-pgbr-cmds for ignored files #13

Closed mhagander closed 4 years ago

mhagander commented 4 years ago

When an ignored file is hit in the enable-internal-pgbr-cmds mode, we must do 'next' and not 'return' since we're not inside a callback.

It looks like this was a copy/paste error from the wrong branch when support for internal pgbr commands were added?

pgstef commented 4 years ago

Indeed, wrong copy/paste. Nice catch. Merged, thanks!