Attempted fix in compatiblity checking
authorBrian Flowers <git-admn@bsflowers.net>
Sun, 18 Sep 2016 23:04:45 +0000 (19:04 -0400)
committerBrian Flowers <git-admn@bsflowers.net>
Sun, 18 Sep 2016 23:04:45 +0000 (19:04 -0400)
bdsm.sh

diff --git a/bdsm.sh b/bdsm.sh
index f177dc7..0a52faf 100755 (executable)
--- a/bdsm.sh
+++ b/bdsm.sh
@@ -329,7 +329,7 @@ configure()
           error "$service plugin not found!"
         fi
         
-        if [ "`/home/bdsm/bdsm.d/$serviceFile compatible`" -eq 1 ]; then
+        if [ "`/home/bdsm/bdsm.d/$serviceFile compatible $host`" -eq "1" ]; then
             availServices+=($service)
         fi
     done