From 3f6d4345d73a4ff238417a3be9176659fcf311e1 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 16 Apr 2009 11:37:48 +0100 Subject: Normalised function style --- includes/autoinstall-includes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/autoinstall-includes.sh b/includes/autoinstall-includes.sh index fada3d3..7ee3024 100644 --- a/includes/autoinstall-includes.sh +++ b/includes/autoinstall-includes.sh @@ -22,7 +22,8 @@ # a simplified version of query() from sorcery # $1 = question # $2 = default boolean answer [yYnN] -function query { +function query +{ while true; do RESPONSE="" echo -e -n "$1 [$2] " -- cgit v1.2.3