]> git.pld-linux.org Git - packages/spamassassin.git/commitdiff
- inverted condition. Silly mistake...
authorpawelz <pawelz@pld-linux.org>
Sat, 27 Mar 2010 20:07:43 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    spamassassin-spamd.init -> 1.10

spamassassin-spamd.init

index 2c7dddbdcbe4145a32f75add2e802f2a3fd1a14d..76863b537ea13bdea3b73259d150ed479d7e628b 100644 (file)
@@ -36,7 +36,7 @@ start() {
        fi
 
        # Check if database is installed.
-       if [ $(find /var/lib/spamassassin/ -name '*.cf' | wc -l) -gt 0 ]; then
+       if [ $(find /var/lib/spamassassin/ -name '*.cf' | wc -l) == 0 ]; then
                show 'Spamassassin database not found. Run sa-update first.' && fail
                return 1
        fi
This page took 1.070059 seconds and 4 git commands to generate.