Skip to content

Commit

Permalink
Merge pull request #43 from liquibase/support-os-commands
Browse files Browse the repository at this point in the history
Suppressed more 'type' check output
  • Loading branch information
r2-lf authored Oct 30, 2020
2 parents 0f785f8 + bbdf2c5 commit 51fa00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

if type "$1" 2> /dev/null; then
if type "$1" > /dev/null 2>&1; then
## First argument is an actual OS command. Run it
exec "$@"
else
Expand Down

0 comments on commit 51fa00e

Please sign in to comment.