aboutsummaryrefslogtreecommitdiffstats
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
parent8e919bdd1049e1c4519f55b3660e15c2512cb11a (diff)
downloadinitscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.gz
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.bz2
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.tar.xz
initscripts-b68fe5a0050464cfb4257586fad0d86c1bcdbd6d.zip
fix typo
-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} \