summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2011-04-19 18:12:20 +0200
committerroot <root@fizz.spline.inf.fu-berlin.de>2011-04-19 18:12:20 +0200
commit42eb506683010641b07ed9e60387689657eae9cf (patch)
tree6374e228badfdf3a5782f9ac06f630727cdbcc8d
parentf3805c7b00185366104a5759ab20f1ce74db688b (diff)
downloadiscsi-helper-42eb506683010641b07ed9e60387689657eae9cf.tar.gz
iscsi-helper-42eb506683010641b07ed9e60387689657eae9cf.tar.bz2
iscsi-helper-42eb506683010641b07ed9e60387689657eae9cf.zip
addIscsiDisk: fixed bug
-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