summaryrefslogtreecommitdiffstats
path: root/client/engine/Cache.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-05-29 12:13:53 +0000
committerramon <ramongomez@us.es>2012-05-29 12:13:53 +0000
commitad3f5312429c0ba0637230300043c8a699d1b470 (patch)
tree52e59cda06381047621d883e88005c58f00e4b89 /client/engine/Cache.lib
parentf2c8049f5b6ecd9513137ddecec080637fbee742 (diff)
Versión 1.0.4, #526: Corregir más erratas en librerías de funciones.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3094 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Cache.lib')
-rwxr-xr-xclient/engine/Cache.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Cache.lib b/client/engine/Cache.lib
index 470f282c..a2d9ec46 100755
--- a/client/engine/Cache.lib
+++ b/client/engine/Cache.lib
@@ -152,7 +152,7 @@ fi
# Obtener el sistema de archivos etiquetado con "CACHE".
PART=$(realpath /dev/disk/by-label/CACHE 2>/dev/null)
# Si no, obtener la 1ª partición marcada como de tipo caché.
-PART=${PART:-$(sfdisk -l | awk '$6~/ca|a7/ {print $1}')}
+PART=${PART:-$(sfdisk -l 2>/dev/null | awk '$6~/ca|a7/ {print $1}')}
PART=${PART%% *}
ogDevToDisk $PART 2>/dev/null