diff options
author | Roy Marples <roy@marples.name> | 2007-11-22 13:37:24 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-22 13:37:24 +0000 |
commit | a1b9dabf4e89b9f4bb7f0c318ff87bb4d0be2168 (patch) | |
tree | 5730a0b34ce85d145b3a9c0146b84cdf9a06acc8 /sh/init-functions.sh | |
parent | 5f37abddde55ee5ec2afb4e2b565326261bbc976 (diff) |
Use yesno for more robustness
Diffstat (limited to 'sh/init-functions.sh')
-rw-r--r-- | sh/init-functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |