Skip to content

Commit 12204fd

Browse files
authored
Update Linux_Plex_Backup.sh
1 parent bbb6fe6 commit 12204fd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Linux_Plex_Backup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ Tmp_Err_Log_File=$(mktemp "${Tmp_Dir}"/errorlog-XXXXXX)
110110
# Create trap and clean up function
111111

112112
# Tmp logs clean up function
113-
cleanup() {
113+
# shellcheck disable=SC2329
114+
cleanup(){
114115
arg1=$?
115116
# Move tmp_error_log to error log if tmp_error_log is not empty
116117
if [[ -s $Tmp_Err_Log_File ]] && [[ -d $Backup_Directory ]]; then

0 commit comments

Comments
 (0)