diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-07-15 11:24:42 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-07-15 11:24:42 +0100 |
| commit | 16e2bf9e3494fd39e73a31919a359d058b44e023 (patch) | |
| tree | 75d22b305171f41800bb22076a37d8f6537502ac /scripts/rabbitmq-server | |
| parent | 3c9ea59548401c22c0c5707d1bf5bc4c20b93964 (diff) | |
| download | rabbitmq-server-git-16e2bf9e3494fd39e73a31919a359d058b44e023.tar.gz | |
The problem with kill -0 is that its semantics are "could I send a signal to this process?" - i.e. it will fail if the process exists but is not owned by the current user. I think this is not quite what we're looking for, so let's use ps -p. I've tested that ps -p does the right thing on Linux and OS X, and it claims to work on FreeBSD and AIX too according to the manpages on the web. That's probably good enough.
Diffstat (limited to 'scripts/rabbitmq-server')
0 files changed, 0 insertions, 0 deletions
