Greetings all;

My catchup script seems to be working with 2 exceptions, first being that I 
am not getting any emails from it, so I installed dnsmasq to see if that 
fixes that.

2nd, each pass through my catchup script loop elicits an error warning from 
the main script:

./flush.sh: line 173: [: !=: unary operator expected

from that script:
# or are we running as flush.sh

if [ $0 == "./flush.sh" ] || [ $0 == "${MYDIR}/flush.sh" ] || [ $0 == 
"flush.sh" ]; then
        # we don't want amflush to disconnect or ask questions
        if [ `/bin/ls /dumps` != "" ] ; then  <-------------------line 173
                echo "Backup script running amflush -bf $CONFIGNAME " |tee -
a >> $LOG

An error I don't recall having seen before.  Needs a translation to English 
for me, please. ;-)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
A pencil with no point needs no eraser.

Reply via email to