diff --git a/python/paddle_fl/mpc/examples/mnist_demo/run_standalone.sh b/python/paddle_fl/mpc/examples/mnist_demo/run_standalone.sh index fb9e7f71300b560697666be08c5701ad77650090..932d8cf6f4da9940fdf0d1099beaf12a03bf0791 100755 --- a/python/paddle_fl/mpc/examples/mnist_demo/run_standalone.sh +++ b/python/paddle_fl/mpc/examples/mnist_demo/run_standalone.sh @@ -68,13 +68,13 @@ if [ "$PRED_FILE" ]; then rm -rf $PRED_FILE fi -PRED_FILE="/tmp/mnist2_feature.part*" -if [ ! "$PRED_FILE" ]; then +TRAINING_FILE="/tmp/mnist2_feature.part*" +if [ ! "$TRAINING_FILE" ]; then echo "There is no data in /tmp, please prepare data with "python prepare.py" firstly" exit 1 else echo "There are data for mnist:" - echo "`ls ${PRED_FILE}`" + echo "`ls ${TRAINING_FILE}`" fi