saída de força de bash 0
function a() {
ls aaaaa 2>&1
return 0
}
a
echo $? # prints 0
Elegant Elk
function a() {
ls aaaaa 2>&1
return 0
}
a
echo $? # prints 0