diff options
author | zec <zec@FreeBSD.org> | 2009-08-21 11:13:56 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2009-08-21 11:13:56 +0000 |
commit | 4bee45ee42a755baeeff48f27281058726c5b19e (patch) | |
tree | df9bfcf1b15b81b12bf7a40d416ac7aedeb9f78f /release | |
parent | 009dd3230641d71a4af4912deacfc735cbbd4ea1 (diff) | |
download | FreeBSD-src-4bee45ee42a755baeeff48f27281058726c5b19e.zip FreeBSD-src-4bee45ee42a755baeeff48f27281058726c5b19e.tar.gz |
Bugfix: all requests for creating vnets via vimage -c were always
reported as failures, even if the actual library / system call
would succeed, because error message would be reported if the return
value from jail_setv() call was >= 0, and if not, then if that same
value was < 0, i.e. always. The correct behavior is to abort (only)
if jail_setv() returns < 0.
Approved by: re (rwatson), julian (mentor)
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions