mirror of
https://github.com/turbot/steampipe.git
synced 2026-02-13 16:00:11 -05:00
13 lines
323 B
Bash
Executable File
13 lines
323 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -Eeo pipefail
|
|
|
|
chown steampipe:0 /home/steampipe/.steampipe/db/14.2.0/data/
|
|
|
|
# if first arg is anything other than `steampipe`, assume we want to run steampipe
|
|
# this is for when other commands are passed to the container
|
|
if [ "${1:0}" != 'steampipe' ]; then
|
|
set -- steampipe "$@"
|
|
fi
|
|
|
|
exec "$@"
|