This patch wasn't applied yet. It seems to me a meaningful patch to apply, since it easily solves Bug 108.
Regards, Silvano On Tue, Jun 24, 2008 at 15:38, Silvano <[EMAIL PROTECTED]> wrote: > This patch should resolve the Bug 108 > (https://bugzilla.slind.org/bugzilla/show_bug.cgi?id=108): 'If you > invoke "slindctl setup" as root, it fails with a strange error after > several minutes.' > > --- > slindctl | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/slindctl b/slindctl > index e357285..9ffbea7 100755 > --- a/slindctl > +++ b/slindctl > @@ -126,6 +126,11 @@ if [ -z "$UID" ]; then > UID=`id -u` > fi > > +#check that not running as root > +if [ "$UID" -eq 0 ]; then > + die "don't invoke slindctl as root!" > +fi > + > # Before we start, check if WORK_DIR is absolute. > # That's a quite stupid test, in fact -- the path may start with "/", > # but contain ".." and so on. However, as it does not exist yet, we can't > -- > 1.4.4.4 > > -- > "La superstición trae mala suerte." - Raymond Smullyan > "Superstition brings bad luck." - Raymond Smullyan > -- "La superstición trae mala suerte." - Raymond Smullyan "Superstition brings bad luck." - Raymond Smullyan _______________________________________________ slind-devel mailing list [email protected] http://lists.slind.org/cgi-bin/mailman/listinfo/slind-devel
