Bug 203257 - "ngctl dot" produces output "dot" can't parse
Summary: "ngctl dot" produces output "dot" can't parse
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-22 01:26 UTC by Daniel O'Connor
Modified: 2015-09-22 01:32 UTC (History)
1 user (show)

See Also:


Attachments
bug fix (290 bytes, patch)
2015-09-22 01:26 UTC, Daniel O'Connor
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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