-#!/usr/bin/python2
+#!/usr/bin/python
# Copyright (c) 2003 Intel Corporation
# All rights reserved.
return 1
except BootManagerException, e:
log.write( "Authentication failed: %s.\n" % e )
+ except:
+ # This is ugly.
+ if vars['DISCONNECTED_OPERATION']:
+ vars['API_SERVER_INST']= None
+ return 1
+ else:
+ raise
# increment auth failure
auth_failure_count= 0