summaryrefslogtreecommitdiffstats
path: root/client/engine/Image.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2016-04-08 17:22:34 +0000
committerramon <ramongomez@us.es>2016-04-08 17:22:34 +0000
commita30ad15f4cc308180ef856100154e5b4dd739fef (patch)
tree04ca955ec95042201e6974cec2f736d1a818c251 /client/engine/Image.lib
parent46a1ff95181a322616e0957a7ec56435871362ae (diff)
#740: Corregir erratas en revisión r4872.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4873 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-xclient/engine/Image.lib6
1 files changed, 3 insertions, 3 deletions
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"