1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #4144: Fix error message (#4152)

This commit is contained in:
Sergio Betanzos 2020-02-03 18:27:52 +01:00 committed by GitHub
parent aa7fd0e889
commit 653b67095d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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