summaryrefslogtreecommitdiffstats
path: root/cobbler
diff options
context:
space:
mode:
Diffstat (limited to 'cobbler')
-rwxr-xr-xcobbler/cobbler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/cobbler.py b/cobbler/cobbler.py
index cc412232..b604e01c 100755
--- a/cobbler/cobbler.py
+++ b/cobbler/cobbler.py
@@ -719,7 +719,7 @@ def main():
try:
lockfile = open(LOCKFILE,"w+")
except:
- raise CX(_("Cobbler could not create the lockfile %(lockfile)s. Are you root?") % { "lockfile" : lockfile })
+ raise CX(_("Cobbler could not create the lockfile %(lockfile)s. Are you root?") % { "lockfile" : LOCKFILE })
lockfile.close()
BootCLI(sys.argv).run()
except CobblerException, exc: