summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)