I've now checked the source code.  Unfortunatly, I did not check the
contents of the .pid file before deleting it.  However, I can see from
my directory listing that the length was only 3 characters.  Looking at
the pid checking code, perhaps the 3 characters matched in part some
other process number.  I've attached a potential patch to avoid this.

** Attachment added: "patch"
   
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/926433/+attachment/2712418/+files/patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/926433

Title:
  indicator-weather leaves .pid file in /tmp and will not restart

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-weather/+bug/926433/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to