aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-05-17 20:00:44 +0000
committerBill Nottingham <notting@redhat.com>2001-05-17 20:00:44 +0000
commit537409bdd199b74688869c9ef329a519cb369612 (patch)
tree17c7b24157991d467882a6eadf9bbfc679a8d0f7
parent315e43e99a74881633d3c817d2c9897295bd373c (diff)
downloadinitscripts-537409bdd199b74688869c9ef329a519cb369612.tar
initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.gz
initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.bz2
initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.xz
initscripts-537409bdd199b74688869c9ef329a519cb369612.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 a75a02fd..ee65bd61 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
)