Skip to content

Commit

Permalink
Update allsky.sh: simplify call to outputJSONwithEqual.php
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 20, 2023
1 parent 87b0c59 commit 7562baf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions allsky.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7562baf

Please sign in to comment.