]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3450] addressed review comment
authorRazvan Becheriu <razvan@isc.org>
Fri, 14 Jun 2024 16:42:39 +0000 (19:42 +0300)
committerRazvan Becheriu <razvan@isc.org>
Mon, 17 Jun 2024 13:02:09 +0000 (16:02 +0300)
src/lib/dhcpsrv/tests/test_kea_lfc_env.sh.in

index 3eb71d5adc11bd64317942f5b8d7a680aabc09bb..c37ec130aade65f07c3831a53e26f310c40c1ccd 100644 (file)
@@ -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