]> git.ipfire.org Git - thirdparty/nftables.git/commit
tests/monitor: Print error "this requires root" and exit
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Mon, 6 Nov 2017 15:34:05 +0000 (21:04 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Nov 2017 15:42:34 +0000 (16:42 +0100)
commitec93f80c18f883ecf51ec487c2064d79147f3913
tree54d36bded302da9f68735af52e046d1bdf117a69
parent7462ef9269ebc98dcddd6a2c2f61dbd3457a777d
tests/monitor: Print error "this requires root" and exit

If executed without root privileges, print error "this requires root!"
and exit.

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/monitor/run-tests.sh