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:
Nico Schottelius 2011-01-15 02:06:20 +01:00
parent d2cd0c48f3
commit 0d5b2992c0

View file

@ -435,7 +435,7 @@ while [ "${source_no}" -lt "${no_sources}" ]; do
#
# 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)