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 /sysconfig/network-scripts/network-functions | |
| parent | 92506822c1748782e57254282536f9f29e2e0799 (diff) | |
fix kill || rm behavior in do_netreport
Diffstat (limited to 'sysconfig/network-scripts/network-functions')
| -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 ) |
