Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

Patch for /trunk/gsa_admin.py #20

Open
willangley opened this issue Aug 30, 2014 · 2 comments
Open

Patch for /trunk/gsa_admin.py #20

willangley opened this issue Aug 30, 2014 · 2 comments

Comments

@willangley
Copy link
Contributor

No description provided.

@willangley
Copy link
Contributor Author

Flip the logic from 'or' to 'and'.
This is needed for editing and resigning a config when not accessing the GSA.

@willangley
Copy link
Contributor Author

From Preston @ Google. The attachment wasn't copied by the migration, so here it is inline:

--- trunk/gsa_admin.py
+++ trunk/gsa_admin.py
@@ -1019,7 +1019,7 @@
       sys.exit(3)


-  if action != "sign" or action != "verify":
+  if action != "sign" and action != "verify":
     #Check user, password, host
     if not options.gsaHostName:
       log.error("hostname not given")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant