From 590aae606e2a4cb466d7cc4cd63222172d9fdeff Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 25 Jan 2002 05:23:40 +0000 Subject: make sure su calls bash (#55288) --- sysconfig/network-scripts/network-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts') diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 4d937ac5..e9a0a630 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -71,7 +71,7 @@ do_netreport () OWNER=`ls -l $i | awk '{ print $3 }'` if [ "`id -u`" = "0" ]; then - su $OWNER -c "kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1" > /dev/null 2>&1 + su -s /bin/bash $OWNER -c "kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1" > /dev/null 2>&1 else kill -SIGIO $i >/dev/null 2>&1 || rm -f $i >/dev/null 2>&1 fi -- cgit v1.2.1