summaryrefslogtreecommitdiff
path: root/init.d/consolefont.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/consolefont.in')
-rw-r--r--init.d/consolefont.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/consolefont.in b/init.d/consolefont.in
index 2f046d8..66b780d 100644
--- a/init.d/consolefont.in
+++ b/init.d/consolefont.in
@@ -54,7 +54,7 @@ start()
eend $retval
# Store the last font so we can use it ASAP on boot
- if [ $retval -eq 0 ] && dir_writable "$RC_LIBEXECDIR"; then
+ if [ $retval -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then
mkdir -p "$RC_LIBEXECDIR"/console
for font in /usr/share/consolefonts/"$consolefont".*; do
: