From 7aece43cbf6623cccac125db4868df0c7e9f8f90 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 21 Nov 2009 01:11:14 +0000 Subject: Xcmd: improve error handling for authentication failures [bugfix] git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5589 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Admin/Xcmd.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') diff --git a/src/lib/Server/Admin/Xcmd.py b/src/lib/Server/Admin/Xcmd.py index 7d6195fa0..7febd4275 100644 --- a/src/lib/Server/Admin/Xcmd.py +++ b/src/lib/Server/Admin/Xcmd.py @@ -44,6 +44,8 @@ class Xcmd(Bcfg2.Server.Admin.Mode): if flt.faultCode == 7: print("Unknown method %s" % cmd) return + elif flt.faultCode == 20: + return else: raise if data != None: -- cgit v1.2.3-1-g7c22