From c6d181ff3237bba84563505129561e833eda5069 Mon Sep 17 00:00:00 2001 From: milisarge Date: Sun, 11 Jun 2017 23:49:54 +0300 Subject: [PATCH] milbit --- bin/milbit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/milbit b/bin/milbit index ec98d3416..e6f0951d3 100755 --- a/bin/milbit +++ b/bin/milbit @@ -244,9 +244,9 @@ fi ;; Xsession ) insert_header "XSESSION HATALARI:" -[ -f /root/.xsession-HATALARI ] && echo "Kullanıcı: root" >> $info && cat /root/.xsession-HATALARI >> $info +[ -f /root/.xsession-errors] && echo "Kullanıcı: root" >> $info && cat /root/.xsession-errors >> $info for a in `grep -v "\!" /etc/shadow|cut -d':' -f1|sed 'root/d'`; do - [ -f /home/$a/.xsession-HATALARI ] && echo "Kullanıcı: $a" >> $info && cat /home/$a/.xsession-HATALARI >> $info + [ -f /home/$a/.xsession-errors ] && echo "Kullanıcı: $a" >> $info && cat /home/$a/.xsession-errors >> $info done ;; Syslog )