From ed6bdac234ea4df2aee87e111fe0eefb93c7e12d Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Mon, 3 Feb 2020 18:27:52 +0100 Subject: [PATCH] B #4144: Fix error message (#4152) (cherry picked from commit 653b67095da0081b0951a922ce6f313d61f60d24) --- src/datastore_mad/remotes/fs/cp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/fs/cp b/src/datastore_mad/remotes/fs/cp index 15ea9ffb97..a406523bef 100755 --- a/src/datastore_mad/remotes/fs/cp +++ b/src/datastore_mad/remotes/fs/cp @@ -109,7 +109,7 @@ COPY_COMMAND="$UTILS_PATH/downloader.sh $DOWNLOADER_ARGS" if echo "$SRC" | grep -vq '^https\?://'; then if [ `check_restricted $SRC` -eq 1 ]; then log_error "Not allowed to copy images from $RESTRICTED_DIRS" - error_message "Not allowed to copy image file $SRC" + error_message "Not allowed to copy image from $SRC, check RESTRICTED_DIRS in your datastore" exit -1 fi