Discussion:
[Libstoragemgmt-devel] [PATCH] lsmenv: print device alias
Gris Ge
2014-07-28 14:18:47 UTC
Permalink
Print device alias which is useful to identify which plugin goes wrong
when using 'lsmenv all lsmcli xxxx'.

Signed-off-by: Gris Ge <***@redhat.com>
---
tools/lsmenv | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/lsmenv b/tools/lsmenv
index 299144c..e238380 100755
--- a/tools/lsmenv
+++ b/tools/lsmenv
@@ -128,6 +128,7 @@ sub call_out($) {
}
}

+ print "Device alias: $dev_alias\n";
print "LSMCLI_URI: $ENV{LSMCLI_URI}\n";

my @cmd = @ARGV;
--
1.8.3.1
Loading...