From 5dafc1fbc058da7d965cc7b96319e44bd346fa55 Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 8 May 2023 17:19:51 -0500 Subject: [PATCH] Include type --- startup_script.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/startup_script.sh b/startup_script.sh index c92697a..850dfcc 100755 --- a/startup_script.sh +++ b/startup_script.sh @@ -40,9 +40,10 @@ else fi STOP_TIME=`date -u +"%Y-%m-%dT%H:%M:%SZ"` -if [ $rc -eq 0 ] && [ "$PRERUN_ONLY" == "true" ] && [ ! -z "$PRERUN_RANGE_START" ] && [ ! -z "$PRERUN_RANGE_STOP" ] && [ ! -z "$DATABASE_FILE_CSV_DIR" ] && [ "$DATABASE_FILE_MODE" == "csv" ]; then +if [ $rc -eq 0 ] && [ "$VDB_COMMAND" == "serve" ] && [ "$PRERUN_ONLY" == "true" ] && [ ! -z "$PRERUN_RANGE_START" ] && [ ! -z "$PRERUN_RANGE_STOP" ] && [ ! -z "$DATABASE_FILE_CSV_DIR" ] && [ "$DATABASE_FILE_MODE" == "csv" ]; then cat >metadata.json <