Skip to content

fix var escaping #25

Merged
merged 1 commit into from Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions startstop.build.sh
Expand Up @@ -36,8 +36,11 @@ function rm_pidfiles() {
}

function pwait() {
[[ -x /usr/bin/pwait ]] && /usr/bin/pwait "${@}"
pidwait "${@}"
if [[ -x /usr/bin/pwait ]]; then
/usr/bin/pwait "\${@}"
else
pidwait "\${@}"
fi
}

#### nginx ####
Expand Down