diff options
author | ramon <ramongomez@us.es> | 2012-06-27 12:24:51 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-06-27 12:24:51 +0000 |
commit | c067ffb1cdfe11650504ec50be465505b0bb4005 (patch) | |
tree | d0b56b197fdda82b080ed4f08ef233c4e81924f5 /admin/Interface | |
parent | 735fec4e7c381f88d5b1a7f4b9d82da659282e0d (diff) |
Versión 1.0.4, #526: Eliminar mensaje de error al tomar configuración del equipo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3245 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface')
-rwxr-xr-x | admin/Interface/getConfiguration | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/Interface/getConfiguration b/admin/Interface/getConfiguration index 52147e94..ca750265 100755 --- a/admin/Interface/getConfiguration +++ b/admin/Interface/getConfiguration @@ -11,7 +11,8 @@ cfg="0::::$(ogGetDiskSize 1);" # e información de disco (partición 0) for ((par=1;par<=$particiones;par++)); do # Código del identificador de tipo de partición - cod=$(ogGetPartitionId 1 $par) + cod=$(ogGetPartitionId 1 $par 2>/dev/null) + cod=${cod:-0} # Tipo de partición o sistema de fichero fsi=$(getFsType 1 $par 2>/dev/null) fsi=${fsi:-"EMPTY"} |