diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-02-28 01:12:42 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-02-28 01:12:42 +0000 |
commit | c164473b3a064d3888075774fa532b2d14cd11a4 (patch) | |
tree | 1bbd9edaab0611c4d85679dc9c7f41dcf37a9ed1 /src | |
parent | fa69d8fd95dcf0af1a83ebe1f55435488bd95cd3 (diff) | |
download | bcfg2-c164473b3a064d3888075774fa532b2d14cd11a4.tar.gz bcfg2-c164473b3a064d3888075774fa532b2d14cd11a4.tar.bz2 bcfg2-c164473b3a064d3888075774fa532b2d14cd11a4.zip |
Add bcfg2-client side support for new option handling
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2887 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rwxr-xr-x | src/sbin/bcfg2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2 index 0c45c5276..1364229be 100755 --- a/src/sbin/bcfg2 +++ b/src/sbin/bcfg2 @@ -133,7 +133,10 @@ class Client: % (self.setup['file'])) else: # retrieve config from server - proxy = Bcfg2.Client.Proxy.bcfg2() + try: + proxy = Bcfg2.Client.Proxy.bcfg2(self.setup) + except: + self.fatal_error("failed to instantiate proxy to server") if self.setup['profile']: try: |