summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-10-29 23:11:57 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-10-29 23:11:57 +0000
commit4c3be88f1d0f048100d8d0eb12a409514f6bfe58 (patch)
treec511e76df8ff666185a30043cbd2dd74aec51f30 /src/sbin
parent6a89b705e812da86de34b1f5a486a71e3f4d6937 (diff)
downloadbcfg2-4c3be88f1d0f048100d8d0eb12a409514f6bfe58.tar.gz
bcfg2-4c3be88f1d0f048100d8d0eb12a409514f6bfe58.tar.bz2
bcfg2-4c3be88f1d0f048100d8d0eb12a409514f6bfe58.zip
Fix error reporting in bcfg2-remote
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3883 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-remote2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-remote b/src/sbin/bcfg2-remote
index 6639fece7..5f6c3990b 100755
--- a/src/sbin/bcfg2-remote
+++ b/src/sbin/bcfg2-remote
@@ -61,7 +61,7 @@ if __name__ == '__main__':
elif serr.args[0] == -5:
logger.error("Lookup failure for %s" % url)
else:
- logger.error("Got unexpected socket error %d for %s" % \
+ logger.error("Got unexpected socket error %s for %s" % \
(serr.args[0], url), exc_info=1)
status = 1
raise SystemExit(status)