summaryrefslogtreecommitdiffstats
path: root/addIscsiDisk
diff options
context:
space:
mode:
Diffstat (limited to 'addIscsiDisk')
-rwxr-xr-xaddIscsiDisk2
1 files changed, 1 insertions, 1 deletions
diff --git a/addIscsiDisk b/addIscsiDisk
index 364100b..a0143de 100755
--- a/addIscsiDisk
+++ b/addIscsiDisk
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ -z "${lvname}" ]; then
+if [ -z "$1" ]; then
echo "Usage: $0 <lvname>"
exit 1
fi