From 62eba32016cce7042539674d7e56f40bc5e102ff Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Mon, 4 Feb 2019 11:20:28 +0100 Subject: #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. --- client/engine/Disk.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/engine') 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 } -- cgit v1.2.3-18-g5258