Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lnst-ctl fails with a stack trace when run with no arguments #6

Closed
pazdera opened this issue Aug 16, 2013 · 2 comments
Closed

lnst-ctl fails with a stack trace when run with no arguments #6

pazdera opened this issue Aug 16, 2013 · 2 comments
Assignees
Labels

Comments

@pazdera
Copy link
Collaborator

pazdera commented Aug 16, 2013

The problem:

# lnst-ctl 
Traceback (most recent call last):
  File "/usr/bin/lnst-ctl", line 189, in <module>
    main()
  File "/usr/bin/lnst-ctl", line 145, in main
    action = args.pop()
IndexError: pop from empty list

Expected results: print usage

@ghost ghost assigned pazdera Aug 30, 2013
@pazdera
Copy link
Collaborator Author

pazdera commented Aug 30, 2013

pazdera added a commit that referenced this issue Aug 31, 2013
This commit fixes Issue #6.

Signed-off-by: Radek Pazdera <rpazdera@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
@pazdera
Copy link
Collaborator Author

pazdera commented Sep 2, 2013

Patch applied, closing as fixed :-).

@pazdera pazdera closed this as completed Sep 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant