Commit 9baf3e2c authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Add copyright info in verify

parent 7a7a6bd3
#!/bin/bash
# Copyright (C) 2012 GRNET S.A.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
set -e
. common.sh
......@@ -34,12 +51,12 @@ case $IMG_FORMAT in
;;
diskdump)
if [ -z "$IMG_PROPERTIES" ]; then
log_error "Image format is 'diskdump' but img_properties parameter is missing"
log_error "\`img_properties' parameter must be present when using \`diskdump' format."
exit 1
fi
;;
*)
log_error "Invalid value '$IMG_FORMAT' for the img_format parameter"
log_error "Unknown Image format: \`$IMAGE_TYPE'"
exit 1
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment