📜  bash force exit 0 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:49.735000             🧑  作者: Mango

代码示例1
function a() {
  ls aaaaa 2>&1
  return 0
}

a
echo $? # prints 0