git: 9eb6cdafe5e2 - main - release/vm: empty sh functions are disallowed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Mar 2025 16:03:24 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=9eb6cdafe5e2c2cfc9ddebc34ecabd1e7cbdc3ca
commit 9eb6cdafe5e2c2cfc9ddebc34ecabd1e7cbdc3ca
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-03-27 16:02:30 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-03-27 16:02:52 +0000
release/vm: empty sh functions are disallowed
This happens to work with FreeBSD's shell, but is rejected by dash and
bash.
Reported by: def
Reviewed by: emaste
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D49526
---
release/tools/vmimage.subr | 1 +
1 file changed, 1 insertion(+)
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index c647097e8ced..9b8813e6dc4a 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -53,6 +53,7 @@ vm_create_base() {
vm_copy_base() {
# Defunct
+ return 0
}
vm_install_base() {