Skip to content

Commit b611e49

Browse files
committed
fix: add -r for kill
1 parent fc0588d commit b611e49

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 kill; fi; rm -rf /tmp/*"]
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/*"]

0 commit comments

Comments
 (0)