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]} ] do - if [ ${NBD_TYPE[$i]} == "$1" ] + if [ "${NBD_TYPE[$i]}" == "$1" ] then DEVICES="$DEVICES ${NBD_DEVICE[$i]}" fi i also wonder if "==" is necessary vs. "=", even though the script explicitly uses bash. live well, vagrant -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org