diff options
author | grant <grant> | 2003-07-06 20:40:34 +0000 |
---|---|---|
committer | grant <grant> | 2003-07-06 20:40:34 +0000 |
commit | 78298ce633a7dae3afdb5117815526f4349ffff4 (patch) | |
tree | a27703e5645b9cee864dde87faacbf0b1f2a59be /pkgtools/rc.subr/files | |
parent | f77a516fd563eb06c6d89eee0891264f7e7abe27 (diff) | |
download | pkgsrc-78298ce633a7dae3afdb5117815526f4349ffff4.tar.gz |
update to 20030706. sync with -current:
----------------------------
revision 1.59
date: 2003/07/04 14:14:10; author: lukem; state: Exp; lines: +1 -7
Revert previous; the "return" if rc.subr had already loaded had issues
in some circumstances where run_rc_script()'s sourcing of an rc.d file
which then sourced rc.subr, the `optimisation' in rc.subr to "return as
we're already loaded" would finish more than just the inner-most sourcing.
I haven't tracked down the exact issue, but removing the `optimisation'
fixes the problem I noticed in starting up certain rc.d scripts, and
may fix [bin/22053] as well.
Diffstat (limited to 'pkgtools/rc.subr/files')
-rw-r--r-- | pkgtools/rc.subr/files/rc.subr | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index a8b496474ab..6dc5038fcaf 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -1,4 +1,4 @@ -# $NetBSD: rc.subr,v 1.3 2003/06/28 07:15:28 grant Exp $ +# $NetBSD: rc.subr,v 1.4 2003/07/06 20:40:34 grant Exp $ # # Copyright (c) 1997-2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -38,12 +38,6 @@ # functions used by various rc scripts # -if ${_rc_subr_loaded:-false}; then - return -else - _rc_subr_loaded=true -fi - # global variables # ---------------- |