Merge branch 'bugfix/subshell_exit' into 'master'
exit in case of subshell error See merge request ungleich-public/ccollect!11
This commit is contained in:
commit
086c95f98d
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