diff options
author | Bill Nottingham <notting@redhat.com> | 2003-06-16 04:15:33 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2003-06-16 04:15:33 +0000 |
commit | b4b3fec79fa333fdd31cb05df627261252d45a7f (patch) | |
tree | 709fbcdb58affefd1771f345d77bde2c017f6d7c /rc.d | |
parent | a1264de80fbb439076f4314b16e869fc198fb388 (diff) | |
download | initscripts-b4b3fec79fa333fdd31cb05df627261252d45a7f.tar initscripts-b4b3fec79fa333fdd31cb05df627261252d45a7f.tar.gz initscripts-b4b3fec79fa333fdd31cb05df627261252d45a7f.tar.bz2 initscripts-b4b3fec79fa333fdd31cb05df627261252d45a7f.tar.xz initscripts-b4b3fec79fa333fdd31cb05df627261252d45a7f.zip |
fix bad syntax
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c03a5c9d..00cf8da5 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -262,7 +262,7 @@ if [ -z "$fastboot" -a "X$ROOTFSTYPE" != "Xnfs" ]; then # A return of 2 or higher means there were serious problems. if [ $rc -gt 1 ]; then - if [ -x /usr/bin/rhgb-client -a /usr/bin/rhgb-client --ping ]; then + if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then chvt 1 fi @@ -520,7 +520,7 @@ if [ -z "$fastboot" ]; then # A return of 2 or higher means there were serious problems. if [ $rc -gt 1 ]; then - if [ -x /usr/bin/rhgb-client -a /usr/bin/rhgb-client --ping ]; then + if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then chvt 1 fi @@ -576,7 +576,7 @@ fi # Configure machine if necessary. if [ -f /.unconfigured ]; then - if [ -x /usr/bin/rhgb-client -a /usr/bin/rhgb-client --ping ]; then + if [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --ping ; then chvt 1 fi |