aboutsummaryrefslogtreecommitdiffstats
path: root/prefdm
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-08-02 14:58:58 +0000
committerBill Nottingham <notting@redhat.com>1999-08-02 14:58:58 +0000
commitb68fe5a0050464cfb4257586fad0d86c1bcdbd6d (patch)
tree8f3919e6e736c81bdce47b0813bd7be2842df424 /prefdm
parent8e919bdd1049e1c4519f55b3660e15c2512cb11a (diff)
downloadinitscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.gz
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.bz2
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.xz
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.zip
fix typo
Diffstat (limited to 'prefdm')
-rwxr-xr-xprefdm2
1 files changed, 1 insertions, 1 deletions
diff --git a/prefdm b/prefdm
index ff5219b7..b014f56a 100755
--- a/prefdm
+++ b/prefdm
@@ -20,7 +20,7 @@ if [ -z "$preferred" ]; then
preferred=xdm
fi
fi
-if [ -n "$preferred" ] && which $preferred
+if [ -n "$preferred" ] && which $preferred ; then
exec `which $preferred` $*
fi
exit 1