From c680f93660157e2720cf878e2fb6f5f212fb6c81 Mon Sep 17 00:00:00 2001 From: ramon Date: Mon, 11 Apr 2016 07:18:55 +0000 Subject: #744: Incluir comprobación de bloqueo de disco en función {{{ogRestoreDiskImage}}}. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.1@4875 a21b9725-9963-47de-94b9-378ad31fedc9 --- client/engine/Image.lib | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/engine/Image.lib') diff --git a/client/engine/Image.lib b/client/engine/Image.lib index 9a4b13d7..49e65e22 100755 --- a/client/engine/Image.lib +++ b/client/engine/Image.lib @@ -631,6 +631,10 @@ if ogIsImageLocked "$IMGFILE"; then ogRaiseError $OG_ERR_LOCKED "$MSG_IMAGE $1, $2.$IMGTYPE" return $? fi +if ogIsDiskLocked $3; then + ogRaiseError $OG_ERR_LOCKED "$MSG_DISK $3" + return $? +fi # Solicitamos la generación de la instruccion a ejecutar PROGRAM=$(ogRestoreImageSyntax $IMGFILE $DISK) -- cgit v1.2.3-18-g5258