On Fri, Aug 13, 2010 at 12:41:30PM -0700, Vagrant Cascadian wrote:
> Package: nbd-client
> Version: 1:2.9.16-3
> Severity: normal
> Tags: patch
> 
> with no devices configured, the nbd-client init script issues the following
> warning:
> 
>   /etc/init.d/nbd-client: line 47: [: =: unary operator expected
> 
> the following patch fixes this(at least, it doesn't issue the warning):
> 
> --- nbd-client.init.d.orig      2010-08-13 14:13:49.000000000 -0500
> +++ nbd-client.init.d   2010-08-13 14:14:29.000000000 -0500
> @@ -43,7 +43,7 @@
>      i=0
>      while [ ! -z ${NBD_DEVICE[$i]} ]
                  ^

That one is supposed to avoid this. I really want to make sure we don't
get anything in DEVICES if that isn't necessary, otherwise we get issues
later on in the script.

It's not clear to me why this would produce something, at all. What does
your config file look like?

-- 
The biometric identification system at the gates of the CIA headquarters
works because there's a guard with a large gun making sure no one is
trying to fool the system.
  http://www.schneier.com/blog/archives/2009/01/biometrics.html



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to