aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2012-03-12 10:03:14 -0400
committerBill Nottingham <notting@redhat.com>2012-03-12 10:03:14 -0400
commita54ce5d02861745ffcf5dbc6409950a22c7c65a2 (patch)
tree3775fc2d878ad599e4ef61f11bb7321b2f72936b
parentae0888cf498e7bddbde2c2a4faf7358c0d5bc87f (diff)
downloadinitscripts-a54ce5d02861745ffcf5dbc6409950a22c7c65a2.tar
initscripts-a54ce5d02861745ffcf5dbc6409950a22c7c65a2.tar.gz
initscripts-a54ce5d02861745ffcf5dbc6409950a22c7c65a2.tar.bz2
initscripts-a54ce5d02861745ffcf5dbc6409950a22c7c65a2.tar.xz
initscripts-a54ce5d02861745ffcf5dbc6409950a22c7c65a2.zip
Fix typo. (#802055, <lubek@users.sourceforge.net>)
-rwxr-xr-xsysconfig/network-scripts/ifdown2
-rwxr-xr-xsysconfig/network-scripts/ifup2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index f2c13086..70f54720 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -61,7 +61,7 @@ if [ ! -x ${OTHERSCRIPT} ]; then
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifdown-${TYPE}"
fi
-if [ ! - x ${OTHERSCRIPT} ]; then
+if [ ! -x ${OTHERSCRIPT} ]; then
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifdown-eth"
fi
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index 62564224..f5ac0fe0 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -142,7 +142,7 @@ if [ ! -x ${OTHERSCRIPT} ]; then
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-${TYPE}"
fi
-if [ ! - x ${OTHERSCRIPT} ]; then
+if [ ! -x ${OTHERSCRIPT} ]; then
OTHERSCRIPT="/etc/sysconfig/network-scripts/ifup-eth"
fi