diff options
author | ramon <ramongomez@us.es> | 2014-05-30 12:26:30 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-05-30 12:26:30 +0000 |
commit | 83442e00621d5c0f01e2a2b5df8ecd3d2452eb1b (patch) | |
tree | 7cbf40a002cee9ffc8778e201ab39b81393e0271 /client | |
parent | d2f8c5a6b8da3b0f146bd723d4d7c176dc7e3e46 (diff) |
#541: Corregir errata en función {{{ogFindCache}}} para evitar pérdida de datos al buscar la caché en discos GPT.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4292 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Cache.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Cache.lib b/client/engine/Cache.lib index ff32e38e..e6bfb6fa 100755 --- a/client/engine/Cache.lib +++ b/client/engine/Cache.lib @@ -188,7 +188,7 @@ PART=${PART:-$(sfdisk -l 2>/dev/null | awk '$6~/ca|a7/ {print $1}')} # Por último revisar todos los discos GPT y obtener las particiones etiquetadas como caché. if [ -z "$PART" ]; then for DISK in $(ogDiskToDev); do - PART="$PART $(sgdisk -p $DISK 2>/dev/null | awk -v d=$DISK '$7~/CACHE/ {printf "%s%s",d,$1;}')" + PART="$(sgdisk -p $DISK 2>/dev/null | awk -v d=$DISK '$7~/CACHE/ {printf "%s%s",d,$1;}') " done fi |