Commit 9f05043a authored by Tilman Kranz's avatar Tilman Kranz
Browse files

check for "nft" command availability

parent 35ca6e51
......@@ -15,6 +15,13 @@ else
default_config_file=""
fi
nft=$(command -v nft)
if test -z "$nft" ; then
echo "ERROR: Command \"nft\" not found; aborted." >&2
exit 1
fi
##
# Functions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment