diff options
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-x | client/engine/Image.lib | 4 |
1 files changed, 4 insertions, 0 deletions
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) |