summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2024-06-14 18:42:39 +0200
committerRazvan Becheriu <razvan@isc.org>2024-06-17 15:02:09 +0200
commita1ba3c6dff48305dbea501e711009400921e6b0a (patch)
tree38f5c99fa143953b554a3a1ce22b7b85f3ca46c8
parent[#3450] make kea environment available to lfc (diff)
downloadkea-a1ba3c6dff48305dbea501e711009400921e6b0a.tar.xz
kea-a1ba3c6dff48305dbea501e711009400921e6b0a.zip
[#3450] addressed review comment
-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