Bug 203257

Summary: "ngctl dot" produces output "dot" can't parse
Product: Base System Reporter: Daniel O'Connor <darius>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Some People CC: cem
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
bug fix none

Description Daniel O'Connor 2015-09-22 01:26:40 UTC
Created attachment 161259 [details]
bug fix

"ngctl dot" emits a trailing semicolon which results in..
[midget 10:42] ~ >sudo ngctl dot | dot -Tpdf -o ng.pdf
Error: <stdin>: syntax error in line 124 near ';'

The attached patch results in the generation of valid output.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-09-22 01:31:52 UTC
A commit references this bug:

Author: cem
Date: Tue Sep 22 01:31:02 UTC 2015
New revision: 288082
URL: https://svnweb.freebsd.org/changeset/base/288082

Log:
  ngctl dot: Drop invalid trailing semi-colon

  PR:		203257
  Submitted by:	Daniel O'Connor
  Sponsored by:	EMC / Isilon Storage Division

Changes:
  head/usr.sbin/ngctl/dot.c