#72 Only remove the pidfile if one was written in the first plac

closed-accepted
Bugs (14)
5
2012-02-23
2012-02-21
andrea biardi
No

Currently, minidlna attempts to unlink() the pidfile as part of the shutdown procedure; this trivial patch adds a conditional that skips unlink() if the pidfile was not written to, in the first place.

Discussion

  • Justin Maggard
    Justin Maggard
    2012-02-23

    This patch has been accepted into the main branch. Thanks for contributing!

     
  • Justin Maggard
    Justin Maggard
    2012-02-23

    • status: open --> closed-accepted