summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2015-06-26 10:03:25 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-06-26 10:04:03 +0200
commitaa9fd4a1a4cf2e78521c427554f3339f78f7a82b (patch)
tree85d70d8108a5ac059d2278310e4e557a24a64af6
parent0d48c76df2736fc3ab9b17dd97fa456cf98ee9e6 (diff)
downloadconntrack-tools-aa9fd4a1a4cf2e78521c427554f3339f78f7a82b.tar.gz
conntrack-tools-aa9fd4a1a4cf2e78521c427554f3339f78f7a82b.zip
tests: conntrack: don't overwrite read-only shell variable
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r--tests/conntrack/run-test.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/conntrack/run-test.sh b/tests/conntrack/run-test.sh
index 2b7b6f2..1403e2c 100644
--- a/tests/conntrack/run-test.sh
+++ b/tests/conntrack/run-test.sh
@@ -1,6 +1,5 @@
#!/bin/bash
-UID=`id -u`
if [ $UID -ne 0 ]
then
echo "Run this test as root"