diff --git a/CHANGES.txt b/CHANGES.txt index a43d0bc..952bcd4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,7 @@ +v2.1.12 +- Bug fix for false "Failed to delete tmp files" log entries. + - Bug first appeared in v1.0.6 + v2.1.11 - Added ability to schedule the script and specify the expansion unit to enable. --unit=EUNIT where EUNIT is dx517, dx513, dx213, dx510, rx418, rx415 or rx410 diff --git a/syno_enable_eunit.sh b/syno_enable_eunit.sh index a3904b5..686be13 100644 --- a/syno_enable_eunit.sh +++ b/syno_enable_eunit.sh @@ -12,7 +12,7 @@ # sudo -i /volume1/scripts/syno_enable_eunit.sh #----------------------------------------------------------------------------------- -scriptver="v2.1.11" +scriptver="v2.1.12" script=Synology_enable_eunit repo="007revad/Synology_enable_eunit" scriptname=syno_enable_eunit @@ -298,7 +298,7 @@ cleanup_tmp(){ fi # Add warning to DSM log - if [[ -z $cleanup_err ]]; then + if [[ $cleanup_err ]]; then syslog_set warn "$script update failed to delete tmp files" fi }