From 77dfd147f4a13a5dfeb10da3a0ec72dae9090da1 Mon Sep 17 00:00:00 2001 From: pierre gueth Date: Fri, 11 Mar 2011 14:07:24 +0100 Subject: [PATCH] more grid script --- grid/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grid/common.sh b/grid/common.sh index bb0b05b..853cef9 100644 --- a/grid/common.sh +++ b/grid/common.sh @@ -44,7 +44,7 @@ sourcefile="$(readlink -f "${sourcefile}")" # convert to absolute path 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?" || exit 2 + check_user "${destlfn} already exists. overwrite it?" || return 2 lcg-del -a "lfn:${destlfn}" fi echo "lets roll" -- 2.45.2