1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

B #4144: Fix error message (#4152)

(cherry picked from commit 653b67095da0081b0951a922ce6f313d61f60d24)
This commit is contained in:
Sergio Betanzos 2020-02-03 18:27:52 +01:00 committed by Tino Vazquez
parent cf86a53f46
commit ed6bdac234
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

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