Fixed error on a nonexistent mail spool file, when countmail can't find it\n\nCloses PR misc/29526\n\n\(Code submitted in PR misc/29526 by Andreas Eder)
This commit is contained in:
parent
a85b0c68e0
commit
944ff7f105
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $NetBSD: countmail,v 1.5 2002/07/02 17:18:21 mycroft Exp $
|
||||
# $NetBSD: countmail,v 1.6 2005/06/30 06:08:56 symka Exp $
|
||||
|
||||
#
|
||||
# Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
|
||||
@ -48,7 +48,7 @@
|
||||
# for krb.
|
||||
#set -- `from -t`
|
||||
#v=$3
|
||||
set -- `from | wc -l`
|
||||
set -- `from 2>/dev/null |wc -l`
|
||||
v=$1
|
||||
#v=`from | wc -l`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user