From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] syntax error in load_drivers, LOADED unset
Date: Mon, 09 Jun 2003 15:56:35 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-105517452917785@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-105515918402378@msgid-missing>
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
next prev parent reply other threads:[~2003-06-09 15:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-09 11:42 [PATCH] syntax error in load_drivers, LOADED unset Olaf Hering
2003-06-09 15:56 ` David Brownell [this message]
2003-06-09 16:02 ` Olaf Hering
2003-06-10 10:51 ` Olaf Hering
2003-06-11 0:29 ` David Brownell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-105517452917785@msgid-missing \
--to=david-b@pacbell.net \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).