summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-02-04 11:20:28 +0100
committerIrina Gómez <irinagomez@us.es>2019-02-04 11:20:28 +0100
commit62eba32016cce7042539674d7e56f40bc5e102ff (patch)
tree7d023ff9557f0d2bbebe12198e4e67f3c948c90a /client
parentd7e33cb56818afdf9d216f18183550f620d4d3d0 (diff)
#895 Fixs the partitioning wizard: can change partition table from MSDOS to GPT whithout reboot. Fixs fake error in ogCreateGptPartitions when there isn't cache.
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Disk.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index 06744bd9..ac7aab5f 100755
--- a/client/engine/Disk.lib
+++ b/client/engine/Disk.lib
@@ -258,7 +258,7 @@ ogCreatePartitionTable $ND
# Definir particiones y notificar al kernel.
# Borramos primero las particiones y luego creamos las nuevas
sgdisk $DELOPTIONS $OPTIONS $DISK 2>/dev/null && partprobe $DISK
-[ -n "$CACHESIZE" ] && ogMountCache 2>/dev/null
+[ -n "$CACHESIZE" ] && ogMountCache 2>/dev/null || return 0
}