]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests/py: trivial: Fix error message
authorPhil Sutter <phil@nwl.cc>
Sat, 9 Dec 2017 15:53:10 +0000 (16:53 +0100)
committerFlorian Westphal <fw@strlen.de>
Sat, 9 Dec 2017 19:46:03 +0000 (20:46 +0100)
The error message for failed chain creation quotes the chain's name but
lacked the closing tick.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
tests/py/nft-test.py

index 9ad97714a3b5622a0140848e519094b9d9b63d06..6aedfb09e972906673809a6b426297c291448003 100755 (executable)
@@ -248,7 +248,7 @@ def chain_create(chain, table, filename):
 
     ret = execute_cmd(cmd, filename, chain.lineno)
     if ret != 0:
-        reason = "I cannot create the chain '" + chain.name
+        reason = "I cannot create the chain '" + chain.name + "'"
         print_error(reason, filename, chain.lineno)
         return -1