Re: virtual-tape directory error

scaner <[email protected]> Wed, 22 Dec 2004 23:23:01 +0000 (UTC)
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <[email protected]>
Hello,

I found the same problem with my Linux Suse 8.2 (bash 2.05b).
The solution seems to be at line 172 of the file sarab.sh:

The comparison does not seem to support the symbol =
if [ "$NUM_FIELDS" = "2" ]; then

You should replace this line by a numerical comparison with the operator -eq
if [ "$NUM_FIELDS" -eq "2" ]; then

It worked for me, hope this will help you.

Scaner.








-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt