From a30ad15f4cc308180ef856100154e5b4dd739fef Mon Sep 17 00:00:00 2001 From: ramon Date: Fri, 8 Apr 2016 17:22:34 +0000 Subject: #740: Corregir erratas en revisión r4872. 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@4873 a21b9725-9963-47de-94b9-378ad31fedc9 --- client/engine/Image.lib | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/engine/Image.lib') diff --git a/client/engine/Image.lib b/client/engine/Image.lib index 6ec511cd..9a4b13d7 100755 --- a/client/engine/Image.lib +++ b/client/engine/Image.lib @@ -81,7 +81,7 @@ case "$TOOL" in which $PARAM1 &>/dev/null || PARAM1="partclone.dd" PARAM1="$PARAM1 -d0 -F -c -s $DEV" # El programa partclone.dd no tiene opción "-c". - [[ "PARAM1" =~ ^partclone.dd ]] && PARAM1="${PARAM1/ -c / }" + [[ "$PARAM1" =~ ^partclone.dd ]] && PARAM1="${PARAM1/ -c / }" ;; esac # Comprobar que existe mbuffer. @@ -240,7 +240,7 @@ fi # Comprobar que no está bloqueada ni la partición, ni la imagen. DISK="$(ogDiskToDev $1)" || return $? -if ogDiskIsLocked $1; then +if ogIsDiskLocked $1; then ogRaiseError $OG_ERR_LOCKED "$MSG_LOCKED $1" return $? fi @@ -937,7 +937,7 @@ then IMGDETECT="TRUE" fi if file $FILEHEAD 2> /dev/null | grep -q "boot sector"; then - TOOLS="dd" + TOOLS="partclone.dd" FS= SIZE= IMGDETECT="TRUE" -- cgit v1.2.3-18-g5258