diff options
author | Bill Nottingham <notting@redhat.com> | 2001-05-17 20:00:44 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-05-17 20:00:44 +0000 |
commit | 537409bdd199b74688869c9ef329a519cb369612 (patch) | |
tree | 17c7b24157991d467882a6eadf9bbfc679a8d0f7 /sysconfig/network-scripts | |
parent | 315e43e99a74881633d3c817d2c9897295bd373c (diff) | |
download | initscripts-537409bdd199b74688869c9ef329a519cb369612.tar initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.gz initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.bz2 initscripts-537409bdd199b74688869c9ef329a519cb369612.tar.xz initscripts-537409bdd199b74688869c9ef329a519cb369612.zip |
fix kill || rm behavior in do_netreport
Diffstat (limited to 'sysconfig/network-scripts')
-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 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 ) |