summaryrefslogtreecommitdiff
path: root/init.d/termencoding.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/termencoding.in')
-rw-r--r--init.d/termencoding.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/termencoding.in b/init.d/termencoding.in
index b421898..af4ed15 100644
--- a/init.d/termencoding.in
+++ b/init.d/termencoding.in
@@ -35,7 +35,7 @@ start()
done
# Save the encoding for use immediately at boot
- if dir_writable "$RC_LIBEXECDIR"; then
+ if checkpath -W "$RC_LIBEXECDIR"; then
mkdir -p "$RC_LIBEXECDIR"/console
if yesno ${unicode:-${UNICODE}}; then
echo "" > "$RC_LIBEXECDIR"/console/unicode