diff options
author | roam <roam@FreeBSD.org> | 2004-07-30 17:40:18 +0000 |
---|---|---|
committer | roam <roam@FreeBSD.org> | 2004-07-30 17:40:18 +0000 |
commit | c18eb3740902a78a73649e766bea8710becf0e80 (patch) | |
tree | b22382bd22c7b0aa2e25a059c8bc3f2e2059b4cd /sysutils/daemontools | |
parent | 268b99ca9cd9ffcbe2cdb5016f860faa24fb3d47 (diff) | |
download | FreeBSD-ports-c18eb3740902a78a73649e766bea8710becf0e80.zip FreeBSD-ports-c18eb3740902a78a73649e766bea8710becf0e80.tar.gz |
Fix shutdown on older systems: avoid find's '-depth n' primary.
Reported by: Robin Breathe <robin@isometry.net>
Diffstat (limited to 'sysutils/daemontools')
-rw-r--r-- | sysutils/daemontools/Makefile | 2 | ||||
-rw-r--r-- | sysutils/daemontools/files/svscan.sh.sample | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile index a6cb323..27a3ae9 100644 --- a/sysutils/daemontools/Makefile +++ b/sysutils/daemontools/Makefile @@ -7,7 +7,7 @@ PORTNAME= daemontools PORTVERSION= 0.76 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils MASTER_SITES= http://cr.yp.to/daemontools/ \ ftp://cr.yp.to/daemontools/ diff --git a/sysutils/daemontools/files/svscan.sh.sample b/sysutils/daemontools/files/svscan.sh.sample index 194f66f..3a3af99 100644 --- a/sysutils/daemontools/files/svscan.sh.sample +++ b/sysutils/daemontools/files/svscan.sh.sample @@ -68,7 +68,7 @@ svscan_start () { svscan_stop_post () { echo "Stopping svscan." - find -L "$svscan_servicedir" -maxdepth 2 -type d \( -depth 1 -or \( -depth 2 -name 'log' \) \) -print0 | xargs -0 %%PREFIX%%/bin/svc -dx + find -L "$svscan_servicedir" -mindepth 1 -maxdepth 2 -type d \( \! -path "$svscan_servicedir/*/*" -or -name 'log' \) -print0 | xargs -0 %%PREFIX%%/bin/svc -dx } run_rc_command "$1" |