From 7562bafac07bc059a7b0b3899401302bb3e6a16e Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 20 Sep 2023 09:44:39 -0500 Subject: [PATCH] Update allsky.sh: simplify call to outputJSONwithEqual.php --- allsky.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/allsky.sh b/allsky.sh index 016f197e9..03ccaa9b3 100755 --- a/allsky.sh +++ b/allsky.sh @@ -241,9 +241,8 @@ fi # We must pass "-config ${ARGS_FILE}" on the command line, # and debuglevel we did above, so don't do them again. # Only pass settings that are used by the capture program. -"${ALLSKY_WEBUI}/includes/outputJSONwithEqual.php" \ - --settings-file "${SETTINGS_FILE}" --capture-only "${OPTIONS_FILE}" | - grep -E -i -v "^config=|^debuglevel=" >> "${ARGS_FILE}" +"${ALLSKY_WEBUI}/includes/outputJSONwithEqual.php" --capture-only "${OPTIONS_FILE}" | + grep -E -i -v "^config=|^debuglevel=" >> "${ARGS_FILE}" # When using a desktop environment a preview of the capture can be displayed in a separate window. # The preview mode does not work if we are started as a service or if the debian distribution has no desktop environment.