From 3f4883ffff90a2b7995f8581f0759147cbb7134b Mon Sep 17 00:00:00 2001 From: milisbir Date: Fri, 6 Oct 2017 05:09:43 +0300 Subject: [PATCH] mps-birden_fazla_talimat --- bin/mps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mps b/bin/mps index 68743959b..6146db7e0 100755 --- a/bin/mps +++ b/bin/mps @@ -295,7 +295,7 @@ talimat_bul(){ while IFS= read -r -d $'\0'; do _bulunan+=("$REPLY") done < <(find $talimatname $ektalimatname -name ${_apaket} -print0) - if [ ${#_bulunan[@]} > 1 ];then echo "$(date +'%F %T') ${_apaket} $_talimat_sayisi_fazla" >> $LOGDIZIN/mps-hata.log;fi + if [ ${#_bulunan[@]} -gt 1 ];then echo "$(date +'%F %T') ${_apaket} $_talimat_sayisi_fazla" >> $LOGDIZIN/mps-hata.log;fi if [ ${_bulunan[0]} ] ; then if [ -f "${_bulunan[0]}/talimat" ];then echo "${_bulunan[0]}"