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 {
|
function logNexit {
|
||||||
str="$1 - $file_name - $series_title"
|
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"
|
echo "$str" >> "$PwD/log"
|
||||||
fi
|
fi
|
||||||
exit $1
|
exit $1
|
||||||
|
|
Loading…
Reference in a new issue