summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in b/src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in
index 3eb71d5adc..c37ec130aa 100644
--- a/src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in
+++ b/src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in
@@ -1,6 +1,3 @@
#!/bin/sh
-if [ $(env | grep -c KEA_LFC_EXECUTABLE) != 0 ]; then
- exit 0
-fi
-exit 1
+env | grep -q KEA_LFC_EXECUTABLE