Hi! vnconfig(8) sometimes return incorrect exit status, I've filled a PR http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/45754 last year but nobody took it. It's hard to write safe scripts when system utility does not signal an error with exit status. Please, look at PR. It contains a patch. Eugene Grosbein