fix white spaces and blank lines removal. Signed-off-by: Doron Shoham <[EMAIL PROTECTED]>
Signed-off-by: Erez Zilber <[EMAIL PROTECTED]> --- utils/iscsi_discovery | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/utils/iscsi_discovery b/utils/iscsi_discovery index f9118d0..0c6d515 100755 --- a/utils/iscsi_discovery +++ b/utils/iscsi_discovery @@ -24,13 +24,13 @@ # * tries to login # * if succeeds, # o logout, -# o mark record autmatic +# o mark record autmatic # * else # o reset transport type to TCP # o try to login # o if succeeded # + logout -# + mark record automatic +# + mark record automatic # usage() @@ -94,7 +94,6 @@ parse_cmdline() done } - discover() { # If open-iscsi is already logged in to the portal, exit @@ -119,7 +118,7 @@ discover() if [ ${discovered} = 0 ]; then echo "failed to discover targets at ${ip}" exit 2 - else + else echo "discovered ${discovered} targets at ${ip}" fi /bin/rm -f ${df} -- 1.5.3.6 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~----------~----~----~----~------~----~------~--~---