Answers for "bash force exit 0"

0

bash force exit 0

function a() {
  ls aaaaa 2>&1
  return 0
}

a
echo $? # prints 0
Posted by: Guest on January-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language