diff options
-rw-r--r-- | zaptel.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zaptel.init b/zaptel.init index c307165..0f80bfd 100644 --- a/zaptel.init +++ b/zaptel.init @@ -194,7 +194,7 @@ case "$1" in [ $RETVAL -eq 0 ] && touch $LOCKFILE # HPEC license found - if [ x`find /var/lib/digium/licenses/ -maxdepth 1 -name HPEC-\*.lic -printf yes` = xyes ]; then + if echo /var/lib/digium/licenses/HPEC-*.lic | grep -v '\*' | grep -q .; then # zaphpec_enable not installed in /usr/sbin if [ ! -f /usr/sbin/zaphpec_enable ]; then echo -n "Running zaphpec_enable: Failed" |