mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2024-09-20 12:05:57 +08:00
Don't evaluate dnscontrol command in subshell
This commit is contained in:
parent
5df73401c5
commit
0219959eea
|
@ -2,7 +2,8 @@
|
|||
|
||||
set -eo pipefail
|
||||
|
||||
OUTPUT=`sh -c "dnscontrol $1"`
|
||||
IFS=
|
||||
OUTPUT="$(dnscontrol "$1")"
|
||||
|
||||
echo "$OUTPUT"
|
||||
|
||||
|
|
Loading…
Reference in a new issue