Skip to content

Commit

Permalink
fixup: script comments
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Sep 1, 2023
1 parent 841449b commit d0c7dfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# wrapper script to start change-flag.sh and flagd, and forward signals to the child process
# wrapper script to start change-flag.sh and flagd/sync, and forward signals to the child process

# handle SIGINTs and SIGTERMs so we can kill the container
handle_term() {
Expand All @@ -13,10 +13,10 @@ handle_int() {
trap handle_term SIGTERM
trap handle_int SIGINT

# start change script and flagd
# start change script and our server
sh ./change-flag.sh &
"$@" &

# wait on flagd
# wait on server
child=$!
wait "$child"

0 comments on commit d0c7dfe

Please sign in to comment.