aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 97438d23..737cbc2a 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -388,7 +388,7 @@ fi
if [ -n "$preferred" ] && which $preferred >/dev/null 2>&1; then
ln -snf ../..`which $preferred` /etc/X11/prefdm
else
- if [ ! -l /etc/X11/prefdm ]; then
+ if [ ! -L /etc/X11/prefdm ]; then
if which gdm >/dev/null 2>&1; then
ln -snf ../..`which gdm` /etc/X11/prefdm
elif which kdm >/dev/null 2>&1; then