mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Scripts: Add shellcheck annotations and fix reported issues
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
3
scripts/dist/entrypoint.sh
vendored
3
scripts/dist/entrypoint.sh
vendored
@@ -120,5 +120,6 @@ fi
|
||||
|
||||
PID=$!
|
||||
|
||||
trap "kill -USR1 $PID" INT TERM
|
||||
# shellcheck disable=SC2064 # expand PID now so the trap targets the correct process id
|
||||
trap "kill -USR1 ${PID}" INT TERM
|
||||
wait
|
||||
|
||||
Reference in New Issue
Block a user