We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb6fe6 commit 12204fdCopy full SHA for 12204fd
1 file changed
Linux_Plex_Backup.sh
@@ -110,7 +110,8 @@ Tmp_Err_Log_File=$(mktemp "${Tmp_Dir}"/errorlog-XXXXXX)
110
# Create trap and clean up function
111
112
# Tmp logs clean up function
113
-cleanup() {
+# shellcheck disable=SC2329
114
+cleanup(){
115
arg1=$?
116
# Move tmp_error_log to error log if tmp_error_log is not empty
117
if [[ -s $Tmp_Err_Log_File ]] && [[ -d $Backup_Directory ]]; then
0 commit comments