aboutsummaryrefslogtreecommitdiff
path: root/init.d/keymaps.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/keymaps.in')
-rw-r--r--init.d/keymaps.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/keymaps.in b/init.d/keymaps.in
index 1b96f493..851af5eb 100644
--- a/init.d/keymaps.in
+++ b/init.d/keymaps.in
@@ -63,7 +63,7 @@ start()
fi
# Save the keymapping for use immediately at boot
- if [ -w "$RC_LIBEXECDIR" ]; then
+ if dir_writable "$RC_LIBEXECDIR"; then
mkdir -p "$RC_LIBEXECDIR"/console
dumpkeys >"$RC_LIBEXECDIR"/console/keymap
fi