Typo in CE 10.0.0 /etc/init.d/scalix

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ppettigrew
Posts: 11
Joined: Sun Apr 02, 2006 10:49 am

Typo in CE 10.0.0 /etc/init.d/scalix

Postby ppettigrew » Wed Apr 05, 2006 9:36 am

Hi - just noticed this little fix required...

Code: Select all

[root@vs5 sys]# service scalix status
/etc/init.d/scalix: line 121: [: missing `]'
*** vs5 not present

Had a look at the file, and noticed a ']' brace missing, so I added it to the end of the if...omrealpath line per below...

Code: Select all

    status)
        for name in $(omcheckgc -l); do
            export OMCURRENT=$name
            if [ -f $(omrealpath '~/sys/sysdata') ]
            then echo "*** $OMCURRENT"
                 omstat -a; omstat -s
            else echo "*** $OMCURRENT not present"
            fi
        done
        ;;

And now the status command/script runs correctly.

Cheers, Paul

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Wed Apr 05, 2006 12:02 pm

It's fixed in the up coming patch release. I think it might've been mentioned in the release notes as well -- no one noticed the typo until very late on in the release cycle of 10.0.0.

jch

ppettigrew
Posts: 11
Joined: Sun Apr 02, 2006 10:49 am

Postby ppettigrew » Wed Apr 05, 2006 7:34 pm

That's great, thanks.

sutton.ryan
Posts: 28
Joined: Mon Nov 14, 2005 6:14 pm

Postby sutton.ryan » Fri Apr 07, 2006 1:07 am

I upgraded to version 10.0.0 when it was first available. When will a patch be available? I notice 10.0.1 is available today. Is this the patch? It is larger than the original 10.0.0 tar, so I doubt it......anyone at Scalix have a patch release date?

Thanks in advance,

Ryan

gren
Scalix
Scalix
Posts: 264
Joined: Thu Mar 25, 2004 10:27 am
Contact:

Postby gren » Fri Apr 07, 2006 4:07 am

Hi,
So called "patches' are in fact complete re-builds. This tends to be safer than trying to just supply the changed bits.

Regards,
Gren.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 15 guests