From 7eac76814bf099447d12c6e25286786aebf7cfef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mert=20G=C3=B6r?= Date: Sat, 18 May 2024 02:23:06 +0300 Subject: [PATCH] =?UTF-8?q?Disk=20Kontrol=C3=BC=20bash=20beti=C4=9Findeki?= =?UTF-8?q?=20yaz=C4=B1m=20d=C3=BCzenlemesidir=20[[...]]=20olarak=20yenile?= =?UTF-8?q?ndi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- disk-kontrol.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-kontrol.sh b/disk-kontrol.sh index 6b673d2..3c3fd96 100644 --- a/disk-kontrol.sh +++ b/disk-kontrol.sh @@ -27,7 +27,7 @@ df -h | grep "$DISKADI" | awk '{ print $5}' > $DISKUSE DURUM=$(cat $DISKUSE | cut -f1 -d\%) -if [ $DURUM -ge $SINIR ]; then +if [[ $DURUM -ge $SINIR ]]; then echo "UYARI! Disk Kullanimi % $SINIR" > $MAILFILE echo "" >> $MAILFILE