summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBala.FA <bala@gluster.com>2011-08-05 14:18:45 +0530
committerBala.FA <bala@gluster.com>2011-08-05 14:20:26 +0530
commit0318ce0d8529f5569bb8f38596d5b0210d67b339 (patch)
tree19ff695760da79446dd468508a7a31fb7ff13bd1
parent5dd40b61a2349da5aa6bc9b9d31149e63d54b8e3 (diff)
Fixed command line argument index in get_volume_user_cifs.py.
Signed-off-by: Bala.FA <bala@gluster.com>
-rwxr-xr-xsrc/com.gluster.storage.management.gateway/WebContent/scripts/get_volume_user_cifs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com.gluster.storage.management.gateway/WebContent/scripts/get_volume_user_cifs.py b/src/com.gluster.storage.management.gateway/WebContent/scripts/get_volume_user_cifs.py
index 0593257b..76f8c318 100755
--- a/src/com.gluster.storage.management.gateway/WebContent/scripts/get_volume_user_cifs.py
+++ b/src/com.gluster.storage.management.gateway/WebContent/scripts/get_volume_user_cifs.py
@@ -22,7 +22,7 @@ def main():
sys.stderr.write("usage: %s VOLUME_NAME\n" % os.path.basename(sys.argv[0]))
sys.exit(-1)
- volumeName = sys.argv[2]
+ volumeName = sys.argv[1]
try:
fp = open(cifsVolumeFile)