From fbb2143ccef1e749df3911e7cc2c3cbba8605e9c Mon Sep 17 00:00:00 2001 From: Pierre Gueth Date: Mon, 14 Mar 2011 11:04:26 +0100 Subject: [PATCH] more strict --- grid/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grid/common.sh b/grid/common.sh index 853cef9..b221faa 100644 --- a/grid/common.sh +++ b/grid/common.sh @@ -45,10 +45,10 @@ test -f "${sourcefile}" || error "can't find ${sourcefile}" echo "uploading ${sourcefile} to ${destlfn}" if file_exists "${destlfn}"; then check_user "${destlfn} already exists. overwrite it?" || return 2 - lcg-del -a "lfn:${destlfn}" + lcg-del -a "lfn:${destlfn}" || error "lcg-del error" fi echo "lets roll" -lcg-cr -v -d ccsrm02.in2p3.fr -l "lfn:${destlfn}" "file:${sourcefile}" +lcg-cr -v -d ccsrm02.in2p3.fr -l "lfn:${destlfn}" "file:${sourcefile}" || error "lcg-cr error" } -- 2.47.1