Skip to content

Commit 19ca466

Browse files
committed
fix: update the match cmd
1 parent c1422e2 commit 19ca466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Docker/Evaluate.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ USER bigcodebenchuser
3333

3434
ENTRYPOINT ["python3", "-m", "bigcodebench.evaluate"]
3535

36-
CMD ["sh", "-c", "pids=$(ps -u $(id -u) -o pid,comm | grep '^ *[0-9]\\+ bigcodebench' | awk '{print $1}'); if [ -n \"$pids\" ]; then echo $pids | xargs -r kill; fi; rm -rf /tmp/*"]
36+
CMD ["sh", "-c", "pids=$(ps -u $(id -u) -o pid,comm | grep 'bigcodebench' | awk '{print $1}'); if [ -n \"$pids\" ]; then echo $pids | xargs -r kill; fi; rm -rf /tmp/*"]

0 commit comments

Comments
 (0)