dbg() didn't check correctly whether the dbg is true
or false.

Signed-off-by: Doron Shoham <[EMAIL PROTECTED]>

Signed-off-by: Erez Zilber <[EMAIL PROTECTED]>

---
 utils/iscsi_discovery |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/iscsi_discovery b/utils/iscsi_discovery
index 6098c24..2de9f82 100755
--- a/utils/iscsi_discovery
+++ b/utils/iscsi_discovery
@@ -35,7 +35,7 @@
 
 dbg()
 {
-       $debug || echo $@
+       $debug && echo $@
 }
 
 initialize()
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to