Date: Wed, 15 Mar 2023 03:20:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 265248] bectl warns twice when the user tries once to create an existing environment (boot environment name already taken) Message-ID: <bug-265248-227-TlzyPw3C24@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-265248-227@https.bugs.freebsd.org/bugzilla/> References: <bug-265248-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265248 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D8e933d9c598ec847081c322e7ae9a46bf= 7897886 commit 8e933d9c598ec847081c322e7ae9a46bf7897886 Author: John Grafton <john.grafton@gmail.com> AuthorDate: 2023-03-15 03:14:14 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-03-15 03:15:17 +0000 libbe: Avoid double printing cloning errors. be_clone calls be_clone_cb and both call set_error on the return error path. set_error prints the error resulting in a double print. be_clone_cb should just return the error code and allow be_clone to print it. PR: 265248 Reported by: Graham Perrin Reviewed by: imp, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/685 lib/libbe/be.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265248-227-TlzyPw3C24>