diff --git a/start.sh b/start.sh index c7912f5..0c84e52 100644 --- a/start.sh +++ b/start.sh @@ -69,4 +69,7 @@ done # echo # echo # fi -tail -f "$FASTDFS_LOG_FILE" + +if [ -f "$FASTDFS_LOG_FILE" ]; then + tail -f "$FASTDFS_LOG_FILE" +fi