summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-08 10:11:43 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-08-08 10:11:43 -0400
commit4f9df1448b0a61a2d431e5de35ff03f9df48b9f7 (patch)
treee22a0e411055f8558f531ac74d66da3f41aacb94 /cobbler
parent61425bf8f4eaba8ff8b708135a67ce229df02fe2 (diff)
downloadthird_party-cobbler-4f9df1448b0a61a2d431e5de35ff03f9df48b9f7.tar.gz
third_party-cobbler-4f9df1448b0a61a2d431e5de35ff03f9df48b9f7.tar.xz
third_party-cobbler-4f9df1448b0a61a2d431e5de35ff03f9df48b9f7.zip
Fix string processing exception on error path.
Diffstat (limited to 'cobbler')
-rw-r--r--cobbler/action_check.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_check.py b/cobbler/action_check.py
index d369527..1dfecf9 100644
--- a/cobbler/action_check.py
+++ b/cobbler/action_check.py
@@ -147,7 +147,7 @@ class BootCheck:
if line.find("-s %s" % self.settings.tftpboot) != -1:
found_bootdir = True
if not found_bootdir:
- status.append(_("change 'server_args' to '-s %(args)' in %(file)s") % { "file" : self.settings.tftpboot, "args" : self.settings.tftpboot })
+ status.append(_("change 'server_args' to '-s %(args)s' in %(file)s") % { "file" : "/etc/xinetd.d/tftp", "args" : self.settings.tftpboot })
else:
status.append(_("file %(file)s does not exist") % { "file" : self.settings.tftpd_conf })