diff options
author | Bill Nottingham <notting@redhat.com> | 2001-05-17 19:59:36 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-05-17 19:59:36 +0000 |
commit | 6ad403071789e16a6c6efde01722209ff639957a (patch) | |
tree | 02faefeba509171acb25aea0dfa9fb96b434ffda | |
parent | 92506822c1748782e57254282536f9f29e2e0799 (diff) | |
download | initscripts-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-functions | 3 |
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 ) |