1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-27 14:03:40 +03:00

M #-: Fix typo (#847)

This commit is contained in:
Jan Orel 2021-02-22 10:02:02 +01:00 committed by GitHub
parent 5e28dc58bb
commit 657933593e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -309,7 +309,7 @@ function fs_size {
# raw images requires special handling, as there is no image header
# with size available and we can't predict image virtual size just
# from a part of the file
if [ "${TYPE}" = 'raw' ] || "${TYPE}" = 'luks' ]; then
if [ "${TYPE}" = 'raw' ] || [ "${TYPE}" = 'luks' ]; then
$UTILS_PATH/downloader.sh ${DOWNLOADER_ARGS} --nodecomp -c "${HEAD_SIZE}" "${SRC}" - >"${IMAGE}" 2>/dev/null
error=$?
if [ $error -ne 0 ]; then

View File

@ -66,7 +66,7 @@ else
fi
# Used for log messages
SCRIPT_NAME=`basename $0`
SCRIPT_NAME=`basename -- $0`
# ------------------------------------------------------------------------------
# Path manipulation functions