1
0
Fork 0
mirror of https://github.com/Jonny007-MKD/OTR-SaneRename synced 2024-05-02 20:54:04 +02:00

Fix logging

This commit is contained in:
Jonny007-MKD 2015-03-12 21:52:58 +01:00
parent df6592a411
commit 927d38b738

View file

@ -44,7 +44,7 @@ function eecho {
function logNexit {
str="$1 - $file_name - $series_title"
if ! [ -f "$PwD/log" ] && ! grep -q "$str" "$PwD/log" ; then
if [ -f "$PwD/log" ] && ! grep -q "$str" "$PwD/log" ; then
echo "$str" >> "$PwD/log"
fi
exit $1