xijinyu has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/529469 ) Change subject: ganesha_mgr: Fix some "IndexError: list index out of range" error. ...................................................................... ganesha_mgr: Fix some "IndexError: list index out of range" error. [root@localhost ~]# ganesha_mgr getall Traceback (most recent call last): File "/usr/bin/ganesha_mgr", line 497, in <module> if sys.argv[2] == "logs": IndexError: list index out of range [root@localhost ~]# ganesha_mgr get Traceback (most recent call last): File "/usr/bin/ganesha_mgr", line 485, in <module> if sys.argv[2] == "log": IndexError: list index out of range [root@localhost ~]# ganesha_mgr display Traceback (most recent call last): File "/usr/bin/ganesha_mgr", line 417, in <module> if sys.argv[2] == "export": IndexError: list index out of range ...... Signed-off-by: Xi Jinyu <xijinyu0811@163.com> Change-Id: Ib410e526b69247dd99c98665d63378f3c3b1b3ae --- M src/scripts/ganeshactl/ganesha_mgr.py 1 file changed, 56 insertions(+), 21 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/69/529469/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/529469 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ib410e526b69247dd99c98665d63378f3c3b1b3ae Gerrit-Change-Number: 529469 Gerrit-PatchSet: 1 Gerrit-Owner: xijinyu <xijinyu0811@163.com> Gerrit-MessageType: newchange