initctl2dot fails with jobs in sub-directories

Bug #1084985 reported by James Hunt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
New
Undecided
Unassigned

Bug Description

Whilst testing lp:~stgraber/upstart/upstart-initctl2dot-python3, I noticed that initctl2dot fails if jobs exist in sub-directories:

$ ./scripts/initctl2dot.py -o - | dot -Tpng -o upstart.png
Error: <stdin>:55: syntax error near line 55
context: >>> job_james/ <<< foo [shape="record", label="<job> james/foo | { <start> start on | <stop> stop on }", fontcolor="black", style="filled", fillcolor="#DCDCDC"];

This is complaining since I have a /etc/init/james/foo.conf.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.