diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/sbin/bcfg2-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin index c7ae8e1f9..b13153d71 100755 --- a/src/sbin/bcfg2-admin +++ b/src/sbin/bcfg2-admin @@ -152,7 +152,7 @@ def get_repo_path(cfile='/etc/bcfg2.conf'): def load_stats(client): repo = get_repo_path() stats = lxml.etree.parse("%s/etc/statistics.xml" % (repo)) - hostent = stats.xpath('.//Node[@name="%s"]' % client) + hostent = stats.xpath('//Node[@name="%s"]' % client) if not hostent: err_exit("Could not find stats for client %s" % (client)) return hostent[0] |