aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/rc')
-rwxr-xr-xrc.d/rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc b/rc.d/rc
index b85bb408..db221f8e 100755
--- a/rc.d/rc
+++ b/rc.d/rc
@@ -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