diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-03-22 11:17:17 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2001-03-22 11:17:17 +0000 |
commit | 749983c11c42532ed2636fa9cd88967c6324e61e (patch) | |
tree | 56259ae5b63151287aa9f507a8bad6abcb396e34 /mail/cyrus-imapd22/files/imapd.sh | |
parent | Update port to version 7.5.16. (diff) |
Use -U option of ps instead of odd path checking.
Notes
Notes:
svn path=/head/; revision=40206
Diffstat (limited to 'mail/cyrus-imapd22/files/imapd.sh')
-rw-r--r-- | mail/cyrus-imapd22/files/imapd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/cyrus-imapd22/files/imapd.sh b/mail/cyrus-imapd22/files/imapd.sh index a08c94fc3ad7..5453fc5ba90e 100644 --- a/mail/cyrus-imapd22/files/imapd.sh +++ b/mail/cyrus-imapd22/files/imapd.sh @@ -10,7 +10,7 @@ start) fi ;; stop) - kill `ps -a | awk '/cyrus\/bin\/master$/ {print $1}'` && \ + kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' echo -n ' imapd' ;; *) |