diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-21 20:05:05 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-08-26 20:43:55 +0200 |
commit | 1c36d487cda8d1bed799b4daa28c44aa7198bb31 (patch) | |
tree | 60bda1db44de5fc977b31aae23b8052f0934bdcf /tests | |
parent | 6ea080984022c6ece3e465d81b7b0b0f9709d356 (diff) | |
download | conntrack-tools-1c36d487cda8d1bed799b4daa28c44aa7198bb31.tar.gz conntrack-tools-1c36d487cda8d1bed799b4daa28c44aa7198bb31.zip |
tests: fix run-test.sh
This reports:
run-test.sh: line 3: UID: read-only variable
rename it to _UID.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/nfct/run-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/nfct/run-test.sh b/tests/nfct/run-test.sh index 9bcad0d..851ee75 100644 --- a/tests/nfct/run-test.sh +++ b/tests/nfct/run-test.sh @@ -1,7 +1,7 @@ #!/bin/bash -UID=`id -u` -if [ $UID -ne 0 ] +_UID=`id -u` +if [ $_UID -ne 0 ] then echo "Run this test as root" exit 1 |