Fixes: (#5447)
Fixes: (#5447)

- rewrote to first check if PID file is readable, then if found load it
- next addition is to cast it's content to int. Any non-integer content will
  result in 0 (as I know).
- Give warnings a voice! (xdebug's scream option showed a warning)
- added some spaces for better readability
friendica/friendica,annando/friendica,friendica/friendica,tobiasd/friendica,fabrixxm/friendica,friendica/friendica,tobiasd/friendica,friendica/friendica,annando/friendica,tobiasd/friendica,friendica/friendica,fabrixxm/friendica,fabrixxm/friendica,tobiasd/friendica,fabrixxm/friendica,annando/friendica,annando/friendica,annando/friendica,tobiasd/friendica,fabrixxm/friendica