From 47d8ae85dacd048dc760839badf019b5f3a239de Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Wed, 20 Mar 2019 13:35:47 +0100 Subject: Fix some script calls to ogIsEfiActive function. --- client/shared/scripts/createImage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/shared') 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" -- cgit v1.2.3-18-g5258