aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xprefdm2
-rwxr-xr-xsysconfig/network-scripts/ifup-ppp2
2 files changed, 2 insertions, 2 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
diff --git a/sysconfig/network-scripts/ifup-ppp b/sysconfig/network-scripts/ifup-ppp
index c987bb4d..1727a778 100755
--- a/sysconfig/network-scripts/ifup-ppp
+++ b/sysconfig/network-scripts/ifup-ppp
@@ -89,7 +89,7 @@ while : ; do
"pppd started for $DEVICE on $MODEMPORT at $LINESPEED" &)&
> /var/run/ppp-$DEVICE.dev
- if [ -n "$WVDIALSECT ] ; then
+ if [ -n "$WVDIALSECT" ] ; then
/usr/sbin/pppd -detach $opts $MODEMPORT $LINESPEED \
remotename $DEVICE ipparam $DEVICE \
${PPPOPTIONS} \