diff options
author | Bill Nottingham <notting@redhat.com> | 2004-03-16 23:43:47 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2004-03-16 23:43:47 +0000 |
commit | 99229a343aa5bb777dd6f8a69978f6de26282024 (patch) | |
tree | fd95d1ee9a983f2c0a2ab5aa5e96ff96ffc29d9c /rc.d/rc | |
parent | 10665e5d6c27dce6132411272c7ae50c9decc9b9 (diff) | |
download | initscripts-99229a343aa5bb777dd6f8a69978f6de26282024.tar initscripts-99229a343aa5bb777dd6f8a69978f6de26282024.tar.gz initscripts-99229a343aa5bb777dd6f8a69978f6de26282024.tar.bz2 initscripts-99229a343aa5bb777dd6f8a69978f6de26282024.tar.xz initscripts-99229a343aa5bb777dd6f8a69978f6de26282024.zip |
check that rhgb is running before calling --quit (#117827, <enrico.scholz@informatik.tu-chemnitz.de>)
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-x | rc.d/rc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -92,4 +92,6 @@ for i in /etc/rc$runlevel.d/S* ; do fi done rm -f /var/run/confirm -[ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --quit +if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then + /usr/bin/rhgb-client --quit +fi
\ No newline at end of file |