From 0d5b2992c0009cde8910c75512b7f8d824c67984 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 15 Jan 2011 02:06:20 +0100 Subject: [PATCH] Remove first pcmd use and make cd ddir default for further actions Signed-off-by: Nico Schottelius --- ccollect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccollect b/ccollect index f376ca0..8673128 100755 --- a/ccollect +++ b/ccollect @@ -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)