]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
template script: typo in app-layer setup script
authorJason Ish <ish@unx.ca>
Mon, 10 Apr 2017 04:12:12 +0000 (22:12 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 13 Apr 2017 08:07:43 +0000 (10:07 +0200)
Check for ed was failing, as it was actually looking for edx.

scripts/setup-app-layer.sh

index f7fa1ba6709ed58f71ca27d48217bed8c12965cc..73cd89f5b8573335c12b425677f12b177f2ddd88 100755 (executable)
@@ -6,7 +6,7 @@ set -e
 #set -x
 
 # Fail if "ed" is not available.
-if ! which edx > /dev/null 2>&1; then
+if ! which ed > /dev/null 2>&1; then
     echo "error: the program \"ed\" is required for this script"
     exit 1
 fi