From 4f9df1448b0a61a2d431e5de35ff03f9df48b9f7 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 8 Aug 2007 10:11:43 -0400 Subject: Fix string processing exception on error path. --- cobbler/action_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) -- cgit