On 6 Apr 2010 at 22:57, Mike Christie wrote:

[...]
> Signed-off-by: Ritesh Raj Sarraf<rsar...@netapp.com>
> ---
>   utils/iscsi_discovery |   10 ++++------
>   1 files changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/utils/iscsi_discovery b/utils/iscsi_discovery
[...]

> >     if [ ${discovered} = 0 ]; then

BTW: What about

if [ ${discovered:-0} = 0 ]; then

? (In case there is no output captured. It might avoid a syntax error 
due to "[  = 0 ]"

[...]

Regards,
Ulrich

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-is...@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to