aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-05-17 19:59:36 +0000
committerBill Nottingham <notting@redhat.com>2001-05-17 19:59:36 +0000
commit6ad403071789e16a6c6efde01722209ff639957a (patch)
tree02faefeba509171acb25aea0dfa9fb96b434ffda
parent92506822c1748782e57254282536f9f29e2e0799 (diff)
downloadinitscripts-6ad403071789e16a6c6efde01722209ff639957a.tar
initscripts-6ad403071789e16a6c6efde01722209ff639957a.tar.gz
initscripts-6ad403071789e16a6c6efde01722209ff639957a.tar.bz2
initscripts-6ad403071789e16a6c6efde01722209ff639957a.tar.xz
initscripts-6ad403071789e16a6c6efde01722209ff639957a.zip
fix kill || rm behavior in do_netreport
-rw-r--r--sysconfig/network-scripts/network-functions3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index cd1a4b49..323701fc 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -38,8 +38,7 @@ do_netreport ()
for i in * ; do
if [ -f $i ]; then
OWNER=`ls -l $i | awk '{ print $3 }'`
- su $OWNER -c "kill -SIGIO $i >/dev/null 2>&1" > /dev/null 2>&1 || \
- rm -f $i >/dev/null 2>&1
+ su $OWNER -c "kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1" > /dev/null 2>&1
fi
done
)