經安全檢測,此網站為安全網站,請放心前往原始網址!

How to check if a command succeeded? - Ask Ubuntu

2011年3月7日 - 0 indicates success, others indicates error. ... test command, not the shell's builtin test command; see the ... ||exit, which will end the script if the previous command failed.

askubuntu.com

網址安全性掃描由 google 提供