cas-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6acd58aa6f0ba5d50bafedb13c75c973fad18725 Author: adam stokes uzr@jak.rebo Date: Mon Oct 12 12:01:58 2009 -0400
- sysexit on failed server in host file
diff --git a/cas-admin b/cas-admin index 628ce89..ec98ead 100755 --- a/cas-admin +++ b/cas-admin @@ -124,7 +124,7 @@ class CasServerHandler(object): try: ssh_obj.connect(server, port=port, username=settings["CASUSER"]) except paramiko.AuthenticationException, e: - self.casLog.debug("Failed to connect to %s: %s" % (server,e)) + raise SystemExit(self.casLog.debug("Failed to connect to %s: %s" % (server,e))) stdin, stdout, stderr = ssh_obj.exec_command("/bin/uname -m") if stderr: self.casLog.debug(stderr)