diff options
author | ramon <ramongomez@us.es> | 2011-10-17 08:18:36 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-10-17 08:18:36 +0000 |
commit | cbbb04626ca2b7cb81891a899b9521a384c96299 (patch) | |
tree | c9e7914df2e3557c90b930b393b78ca6b71dc993 /client/engine/Image.lib | |
parent | 391500532f781d0f835f7e51c5b99d56155409c9 (diff) |
Versión 1.0.2: revisar variables locales y ayudas de las funciones del motor de clonación (modifica #446).
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2345 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-x | client/engine/Image.lib | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib index 7934525e..0a0867f2 100755 --- a/client/engine/Image.lib +++ b/client/engine/Image.lib @@ -382,6 +382,7 @@ IMGFILE="$IMGDIR/$(basename "$3").mbr" dd if="$DISK" of="$IMGFILE" bs=446 count=1 || ogRaiseError $OG_ERR_IMAGE "$1 $IMGFILE" || return $? } + #/** # ogIsImageLocked [str_repo] path_image #@brief Comprueba si una imagen está bloqueada para uso exclusivo. @@ -481,7 +482,7 @@ touch $IMGDIR/$(basename "${!#}").lock function ogRestoreImage () { # Variables locales -local PART PARTSIZE IMGFILE IMGTYPE IMGSIZE FSTYPE +local PART PARTSIZE IMGFILE IMGTYPE IMGSIZE FSTYPE PROGRAM ERRCODE # Si se solicita, mostrar ayuda. if [ "$*" == "help" ]; then @@ -662,7 +663,8 @@ rm -f $(ogGetPath $@.lock) #@date 2010/02/08 #*/ ## -function ogGetImageInfo () { +function ogGetImageInfo () +{ # Si se solicita, mostrar ayuda. if [ "$*" == "help" ]; then ogHelp "$FUNCNAME" "$FUNCNAME filename " \ |