minor change to LockFile

parent c51c84fe
......@@ -46,7 +46,7 @@ class LockFile(object):
xpid = subprocess.getoutput("pgrep -l bashstyle")
gpid = xpid.split()
if not xpid == "" and gpid[1] == "bashstyle":
if gpid[1] == "bashstyle":
print(_("Lockfile does exist and bashstyle-ng is already running."))
print(_("bashstyle-ng is running as process %s" % oldpid))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment