From c89fb3f2dcf35d0cc3c4c7479d4ca1a71fcaccec Mon Sep 17 00:00:00 2001 From: qwell Date: Wed, 19 Dec 2007 19:39:36 +0000 Subject: You need a space after [, since [ is an application git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3529 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zaptel.init b/zaptel.init index 022d57d..44bf779 100644 --- a/zaptel.init +++ b/zaptel.init @@ -145,12 +145,12 @@ if [ "${TELEPHONY}" != "yes" ]; then exit 0 fi -if [! -x "$ZTCFG" ]; then +if [ ! -x "$ZTCFG" ]; then echo "ztcfg not executable" exit 0 fi -if [! -f /etc/zaptel.conf ]; then +if [ ! -f /etc/zaptel.conf ]; then echo "/etc/zaptel.conf not found" exit 0 fi -- cgit v1.2.3