This commit is contained in:
Sam A. 2022-07-05 15:53:53 +02:00
parent a751783e73
commit 464ee6086a
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -40,7 +40,7 @@ get_ip() {
shift shift
done done
eval "curl ${ARGS[*]} -fsSL 'https://ifconfig.co/json$IP' \ eval "curl ${ARGS[@]} -fsSL 'https://ifconfig.co/json$IP' \
$( (( ${+commands[jq]} )) && echo "| jq" )" $( (( ${+commands[jq]} )) && echo "| jq" )"
} }