[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] aoe: add documentation for udev users
- From: Bodo Eggert <7eggert@xxxxxx>
- Date: Thu, 20 Jan 2005 04:07:54 +0100
- References: <fa.gl94rva.1tkib28@ifi.uio.no>
- User-agent: KNode/0.7.7
Ed L Cashin <ecashin@xxxxxxxxxx> wrote:
> +if test -z "$conf"; then
> + conf="`find /etc -type f -name udev.conf 2> /dev/null`"
> +fi
> +if test -z "$conf" || test ! -r $conf; then
> + echo "$me Error: could not find readable udev.conf in /etc" 1>&2
> + exit 1
> +fi
This will fail and print
---
bash: test: etc/udev.conf: binary operator expected
---
if there is more than one udev.conf.
Fix: Always put quotes around variables.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups: