diff options
author | Irina Gómez <irinagomez@us.es> | 2019-03-20 13:35:47 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-03-20 13:35:47 +0100 |
commit | 47d8ae85dacd048dc760839badf019b5f3a239de (patch) | |
tree | 4215449d2993e9d88e9f17e3ddb67879be86aba4 /client/shared | |
parent | 1874ce958f03bf238dcc0f892e21305fc87e3c66 (diff) |
Fix some script calls to ogIsEfiActive function.
Diffstat (limited to 'client/shared')
-rwxr-xr-x | client/shared/scripts/createImage | 2 |
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" |