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