]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move the redirection to stderr out of the cmd variable assignment
authorEnji Cooper <ngie@FreeBSD.org>
Sat, 25 Oct 2014 05:31:18 +0000 (05:31 +0000)
committerEnji Cooper <ngie@FreeBSD.org>
Sat, 25 Oct 2014 05:31:18 +0000 (05:31 +0000)
commitfbb045e15e04bf71c855fd4777bfcacbcb9b8236
treec02f8462b5fb3d8478987866150be2f91b27804b
parent59dee1b08bc89aee3e180167925d2669740666b7
Move the redirection to stderr out of the cmd variable assignment

Putting 2>/dev/null in cmd= escapes the redirection operation, which causes
mdconfig to think it's a filename

MFC after: 2 weeks
X-MFC with: r273627
Sponsored by: EMC / Isilon Storage Division
tools/regression/zfs/misc.sh