diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index ef7b2d00..bb943963 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -459,8 +459,10 @@ echo_warning() { # Inform the graphical boot of our current state update_boot_stage() { - if [ "$GRAPHICAL" = "yes" -a -x /usr/bin/rhgb-client ]; then - /usr/bin/rhgb-client --update="$1" + if [ "$GRAPHICAL" = "yes" ]; then + if [ -x /usr/bin/rhgb-client ]; then + /usr/bin/rhgb-client --update="$1" + fi fi return 0 } |