On 15 April 2014 12:15, Sami Kerola <kerolasa@xxxxxx> wrote: > + if (!(fd = open(pid_path, O_WRONLY | O_CREAT | O_TRUNC, mode))) Karel, Bernhard's comment about open() returning -1 when failing is fixed in my github. https://github.com/kerolasa/lelux-utiliteetit/commit/125d5bebeab0727cd53f51d04cbe24ed9b18de5b#diff-437d9e619dae92130efbc0f412050818R149 -- Sami Kerola http://www.iki.fi/kerolasa/ -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html