From a1b9dabf4e89b9f4bb7f0c318ff87bb4d0be2168 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 22 Nov 2007 13:37:24 +0000 Subject: Use yesno for more robustness --- sh/init-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/init-functions.sh') diff --git a/sh/init-functions.sh b/sh/init-functions.sh index 38b65033..ced84897 100644 --- a/sh/init-functions.sh +++ b/sh/init-functions.sh @@ -63,7 +63,7 @@ check_statedir() { #splash "critical" & echo eerror "To function properly, \"$1\" needs to exist." - if [ "${RC_FORCE_AUTO}" = "yes" ] ; then + if yesno ${RC_FORCE_AUTO}; then eerror "Attempting to create \"$1\" for you ..." mount -o remount,rw / mkdir -p "$1" -- cgit v1.2.3