https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265184
Bug ID: 265184 Summary: gunion(8) create has exit code 1 on success Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: p...@freebsd.org Created attachment 235229 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235229&action=edit Reproducer "union create" seems to return an incorrect error status for the "create" command: [root@mercat1 /usr/src/tools/test/stress2/misc]# ./gun.sh + gunion create -v /dev/md11 /dev/md10 gunion: Device md11-md10.union created with memory map size 1315888. + s=1 + [ 1 -ne 0 ] + echo 'gunion create returned 1' gunion create returned 1 + ls -l /dev/md10 /dev/md11 /dev/md11-md10.union /dev/mdctl crw-r----- 1 root operator 0xac Jul 13 07:18 /dev/md10 crw-r----- 1 root operator 0xae Jul 13 07:18 /dev/md11 crw-r----- 1 root operator 0xb0 Jul 13 07:18 /dev/md11-md10.union crw------- 1 root wheel 0x10 Jul 13 07:12 /dev/mdctl + set -e + gunion commit /dev/md11-md10.union + gunion destroy /dev/md11-md10.union + set +x [root@mercat1 /usr/src/tools/test/stress2/misc]# uname -a FreeBSD mercat1.netperf.freebsd.org 14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n256675-becd9908beb8f: Tue Jul 12 20:45:53 CEST 2022 p...@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO amd64 [root@mercat1 /usr/src/tools/test/stress2/misc]# $ -- You are receiving this mail because: You are the assignee for the bug.