Skip to content

Commit

Permalink
Update 950_copy_result_files.sh
Browse files Browse the repository at this point in the history
Also use LogPrint in case "$scheme" in (nfs|cifs|usb|file|sshfs|ftpfs|davfs)
in output/default/950_copy_result_files.sh to show the user
what will be done as in the other cases in that script,
cf. #1965 (comment)
  • Loading branch information
jsmeix committed Nov 16, 2018
1 parent dc372cd commit 6ed63d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/share/rear/output/default/950_copy_result_files.sh
Expand Up @@ -37,7 +37,7 @@ test "$RESULT_FILES" || return 0
# The real work (actually copying resulting files to the network output location):
case "$scheme" in
(nfs|cifs|usb|file|sshfs|ftpfs|davfs)
Log "Copying result files '${RESULT_FILES[@]}' to $opath at $scheme location"
LogPrint "Copying result files '${RESULT_FILES[@]}' to $opath at $scheme location"
# Copy each result file one by one to avoid usually false error exits as in
# https://github.com/rear/rear/issues/1711#issuecomment-380009044
# where in case of an improper RESULT_FILES array member 'cp' can error out with something like
Expand Down

0 comments on commit 6ed63d2

Please sign in to comment.