From 537409bdd199b74688869c9ef329a519cb369612 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 17 May 2001 20:00:44 +0000 Subject: fix kill || rm behavior in do_netreport --- sysconfig/network-scripts/network-functions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysconfig/network-scripts') 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 ) -- cgit v1.2.1