aboutsummaryrefslogtreecommitdiff
path: root/sh/init-functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/init-functions.sh')
-rw-r--r--sh/init-functions.sh2
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"