]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: shell: refer to python3 in json prettify script master
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Nov 2025 21:55:45 +0000 (21:55 +0000)
committerFlorian Westphal <fw@strlen.de>
Wed, 26 Nov 2025 15:34:42 +0000 (16:34 +0100)
Some distros only refer to python3, update it.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/shell/helpers/json-pretty.sh

index 5407a8420058d0bfb9d4e0e57e30a0caff90e6c4..31739b02bc6dcf6edb30f8d15190b7e3ffc33c48 100755 (executable)
@@ -10,7 +10,7 @@ exec_pretty() {
        fi
 
        # Fallback to python.
-       exec python -c '
+       exec python3 -c '
 import json
 import sys