summaryrefslogtreecommitdiffstats
path: root/client/shared
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-03-20 13:35:47 +0100
committerIrina Gómez <irinagomez@us.es>2019-03-20 13:35:47 +0100
commit47d8ae85dacd048dc760839badf019b5f3a239de (patch)
tree4215449d2993e9d88e9f17e3ddb67879be86aba4 /client/shared
parent1874ce958f03bf238dcc0f892e21305fc87e3c66 (diff)
Fix some script calls to ogIsEfiActive function.
Diffstat (limited to 'client/shared')
-rwxr-xr-xclient/shared/scripts/createImage2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shared/scripts/createImage b/client/shared/scripts/createImage
index b15955c0..7b99afe2 100755
--- a/client/shared/scripts/createImage
+++ b/client/shared/scripts/createImage
@@ -128,7 +128,7 @@ ogCheckFs $1 $2 || exit $(ogRaiseError $OG_ERR_PARTITION "ogCheckFs $1 $2" && ec
# Si es UEFI copio el cargador de arranque a la partición
OSTYPE="$(ogGetOsType $1 $2)"
-if [ ogIsEfiActive -a "$OSTYPE" == "Windows" ] ; then
+if ogIsEfiActive && [ "$OSTYPE" == "Windows" ]; then
ogEcho log session "[25] $MSG_HELP_ogCopyEfiBootLoader"
ogCopyEfiBootLoader $1 $2
echo ogSaveImageInfo $1 $2 "$REPO" "$4"