mirror of
https://github.com/Jonny007-MKD/OTR-SaneRename
synced 2025-01-22 08:49:48 +01:00
Fix logging
This commit is contained in:
parent
df6592a411
commit
927d38b738
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue