Remove first pcmd use and make cd ddir default for further actions
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
d2cd0c48f3
commit
0d5b2992c0
1 changed files with 1 additions and 1 deletions
2
ccollect
2
ccollect
|
@ -435,7 +435,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
|
||||||
#
|
#
|
||||||
# Check: destination exists?
|
# Check: destination exists?
|
||||||
#
|
#
|
||||||
( pcmd cd "${ddir}" ) || _exit_err "Cannot change to ${ddir}. Skipping."
|
cd "${ddir}" || _exit_err "Cannot change to ${ddir}. Skipping."
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check incomplete backups (needs echo to remove newlines)
|
# Check incomplete backups (needs echo to remove newlines)
|
||||||
|
|
Loading…
Reference in a new issue