Fix error info when file not exit
@@ -446,6 +446,9 @@ parse_command() {
# Test CITA is running in docker.
cita_in_docker() {
+ if [ ! -d /proc/1/cgroup ] ; then
+ return 1
+ fi
if grep docker /proc/1/cgroup -qa; then
return 0
else
