diff options
author | Bill Nottingham <notting@redhat.com> | 2002-01-25 05:23:40 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-01-25 05:23:40 +0000 |
commit | 590aae606e2a4cb466d7cc4cd63222172d9fdeff (patch) | |
tree | ea75679247901de03bd50a9894e2db42c354b983 /sysconfig | |
parent | 543c9522feba2bff84f54c1d214d74f20ea0b5fd (diff) | |
download | initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.gz initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.bz2 initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.xz initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.zip |
make sure su calls bash (#55288)
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |