[Pkg-iscsi-maintainers] Bug#765431: open-iscsi: umountiscsi.sh script does not properly check while traverse sysfs structure

Ritesh Raj Sarraf rrs at researchut.com
Wed Oct 15 10:49:28 UTC 2014


Hello Dmitry,

Thank you for the patch. Since I do not have an iscsi setup handy with
me right now, I'm gonna depend on you for some questions.


On Wednesday 15 October 2014 08:31 AM, Dmitry Danilov wrote:
>  		for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do
> +			if  ! [ -d $BLOCK_FILE ]; then 
> +				continue
> +			fi

I named the variable BLOCK_FILE. From what I'm guessing, it'd give us
the file names type block. No ??

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141015/b439fe6c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20141015/b439fe6c/attachment.sig>


More information about the Pkg-iscsi-maintainers mailing list