]> Sergey Matveev's repositories - public-inbox.git/blobdiff - scripts/dc-dlvr
v2writable: nproc_shards: subtract 1 from given value
[public-inbox.git] / scripts / dc-dlvr
index a38760f590693fd7ae4af7a09e5fed42c7bbbbe1..3d428e79b7be473125e75cb19f2ec15e801fdcc4 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2008-2016 all contributors <meta@public-inbox.org>
+# Copyright (C) 2008-2019 all contributors <meta@public-inbox.org>
 # License: GPL-3.0+ <http://www.gnu.org/licenses/gpl-3.0.txt>
 # This is installed as /etc/dc-dcvr on my system
 # to use with postfix main.cf: mailbox_command = /etc/dc-dlvr "$EXTENSION"
@@ -57,14 +57,14 @@ err=$?
 set -e
 
 case $err in
-1) $DELIVER -m INBOX.spam < $TMPMSG ;;
+1) $DELIVER -m INBOX.spam <$TMPMSG ;;
 *)
        # users may override normal delivery and have it go elsewhere
        if test -r ~/.dc-dlvr.rc
        then
                . ~/.dc-dlvr.rc
        else
-               $DELIVER -m INBOX < $TMPMSG
+               $DELIVER -m INBOX <$TMPMSG
        fi
        ;;
 esac