emit_upstart: fix use of undeclared variable
This commit is contained in:
parent
1445f1d529
commit
708583528a
@ -32,8 +32,7 @@ LOG = logging.getLogger(__name__)
|
|||||||
|
|
||||||
def is_upstart_system():
|
def is_upstart_system():
|
||||||
if not os.path.isfile("/sbin/initctl"):
|
if not os.path.isfile("/sbin/initctl"):
|
||||||
LOG.debug(("Skipping module named %s,"
|
LOG.debug("no /sbin/initctl located")
|
||||||
" no /sbin/initctl located"), name)
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
myenv = os.environ.copy()
|
myenv = os.environ.copy()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user