pgstef / check_pgbackrest

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

Avoid chdir when scanning a directory to avoir some problems with sudo -u #3

Closed Krysztophe closed 5 years ago

Krysztophe commented 5 years ago

See https://github.com/dalibo/check_pgbackrest/issues/2

no_chdir avoids getting a "Can't cd to /var/lib/nagios" (and I do not want a sudo -iu)