Fix check_mysql.c client options from file (#1199)

Sam Kottler notifications at github.com
Thu Mar 27 14:01:49 CET 2014


@awiddersheim your strace output actually exposes another bug, but I'll file
an issue for that. Here's the problem I see right now:

```
stat("/root/..cnf", 0x7fff7c4e6620) = -1 ENOENT (No such file or directory)
```

That should be `/.root/.my.cnf`, but that's the aforementioned bug. This
patch causes the cycle of checking which `my.cnf` to ignore the one that may
exist in a user's homedir.

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1199#issuecomment-38799282
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140327/8129c9fb/attachment.html>


More information about the Devel mailing list