mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
M #-: Fix typo (#847)
This commit is contained in:
parent
5e28dc58bb
commit
657933593e
@ -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
|
||||
|
@ -66,7 +66,7 @@ else
|
||||
fi
|
||||
|
||||
# Used for log messages
|
||||
SCRIPT_NAME=`basename $0`
|
||||
SCRIPT_NAME=`basename -- $0`
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Path manipulation functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user