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():
|
||||
if not os.path.isfile("/sbin/initctl"):
|
||||
LOG.debug(("Skipping module named %s,"
|
||||
" no /sbin/initctl located"), name)
|
||||
LOG.debug("no /sbin/initctl located")
|
||||
return False
|
||||
|
||||
myenv = os.environ.copy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user