diff --git a/example_problems/hello/submissions/run_time_error/test-chroot-escape.sh b/example_problems/hello/submissions/run_time_error/test-chroot-escape.sh index 017c0115aa..fde0cdf4f2 100644 --- a/example_problems/hello/submissions/run_time_error/test-chroot-escape.sh +++ b/example_problems/hello/submissions/run_time_error/test-chroot-escape.sh @@ -5,10 +5,10 @@ # @EXPECTED_RESULTS@: RUN_TIME_ERROR ischroot -if [ ischroot ]; then +if ischroot; then # We expect to be in the jail chroot /proc/1/root - if [ ischroot ]; then + if ischroot; then # We expect to still be in the jail exit 1 else