9 lines
89 B
Bash
9 lines
89 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
if [ "${1:0:1}" = '-' ]; then
|
||
|
set -- telegraf "$@"
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|