From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Mon, 09 Jun 2003 15:56:35 +0000 Subject: Re: [PATCH] syntax error in load_drivers, LOADED unset Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Olaf Hering wrote: > This avoids the ' if [ = false ] ' syntax error: > I have seen it also in the debian patch. Not needed with that other fix to initialize LOADED at the top of the loop ... > Index: etc/hotplug/hotplug.functions > =================================> RCS file: /cvsroot/linux-hotplug/admin/etc/hotplug/hotplug.functions,v > retrieving revision 1.19 > diff -u -r1.19 hotplug.functions > --- etc/hotplug/hotplug.functions 6 Jun 2003 18:26:57 -0000 1.19 > +++ etc/hotplug/hotplug.functions 9 Jun 2003 11:39:07 -0000 > @@ -171,7 +171,7 @@ > LOADED=true > fi > > - if [ $LOADED = false ]; then > + if [ "$LOADED" = false ]; then > mesg "missing kernel or user mode driver $MODULE " > fi > done ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel