Skip to content

Commit

Permalink
fix run-in-docker judge error.
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyr committed Jan 6, 2020
1 parent 2d20330 commit 54cdb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cita.sh
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ parse_command() {

# Test CITA is running in docker.
cita_in_docker() {
if [ ! -d /proc/1/cgroup ] ; then
if [ ! -f /proc/1/cgroup ] ; then
return 1
fi
if grep docker /proc/1/cgroup -qa; then
Expand Down

0 comments on commit 54cdb56

Please sign in to comment.