1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-08-24 17:49:28 +03:00

B #4144: Fix error message (#4152)

(cherry picked from commit 653b67095d)
This commit is contained in:
Sergio Betanzos
2020-02-03 18:27:52 +01:00
committed by Tino Vazquez
parent cf86a53f46
commit ed6bdac234

View File

@ -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