exit in case of subshell error
This commit is contained in:
parent
71eabe2f23
commit
835e21c56c
1 changed files with 1 additions and 1 deletions
2
ccollect
2
ccollect
|
@ -807,7 +807,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
|||
_techo "Backup lasted: ${hours}:${minutes}:${seconds} (h:m:s)"
|
||||
|
||||
unlock "${name}"
|
||||
)
|
||||
) || exit
|
||||
done
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue