From 648f57173c7fa1f405e62bd7f441c88f2e83b758 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Tue, 4 Oct 2011 23:53:06 +0200 Subject: [PATCH] bugfix: use -gt when comparing int values Signed-off-by: Steven Armstrong --- conf/type/__partition_msdos_apply/files/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/type/__partition_msdos_apply/files/lib.sh b/conf/type/__partition_msdos_apply/files/lib.sh index d7f07060..5767ea43 100644 --- a/conf/type/__partition_msdos_apply/files/lib.sh +++ b/conf/type/__partition_msdos_apply/files/lib.sh @@ -52,7 +52,7 @@ create_partition() { first_minor="${minor}\n" type_minor="${minor}\n" primary_extended="l\n" - [ "$primary_count" > "3" ] && primary_extended="" + [ "$primary_count" -gt "3" ] && primary_extended="" fi [ -n "${size}" ] && size="+${size}M" fdisk_command ${device} "n\n${primary_extended}${first_minor}\n${size}\nt\n${type_minor}${type}\n"