fix(bin/dev): makes conditional for launching overmind POSIX-compliant (#30271)

pull/2709/head
Jeen Broekstra 2024-05-13 21:40:14 +12:00 committed by GitHub
parent c66fdb3dff
commit b429c9b8a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export PORT="${PORT:-3000}"
# Get around our boot.rb ENV check
export RAILS_ENV="${RAILS_ENV:-development}"
if command -v overmind &> /dev/null
if command -v overmind 1> /dev/null 2>&1
then
overmind start -f Procfile.dev "$@"
exit $?