Article View: news.software.nntp
Article #29977Re: innwatch and bash-2
From: Allin Cottrell
Date: Thu, 23 Jul 1998 00:00
Date: Thu, 23 Jul 1998 00:00
23 lines
1250 bytes
1250 bytes
I wrote:
>
> I am running inn 2.0 and bash 2.01.1(1)-release. I find
> that innwatch generates an error whenever it "wakes up":
>
> innwatch: [: : integer expression expected
>
> Does anyone happen to have a fix for this? TIA.
OK, think I tracked it down: in innwatch.ctl, substitute
"$4" for "$7" in the line:
!!! /bin/df -i . | awk 'NR == 2 { print $7 }' <etc>
At least with my "df" there is no field 7 in the second
line of output from "df -i" (GNU fileutils 3.16).
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
Technical Details
Message-ID:
<35B77AE9.913FEE4F@ricardo.ecn.wfu.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<35B768FE.ABF147B9@ricardo.ecn.wfu.edu>Show Full Headers
Complete Article Headers
Message-ID: <35B77AE9.913FEE4F@ricardo.ecn.wfu.edu> Subject: Re: innwatch and bash-2 Date: Thu, 23 Jul 1998 00:00:00 +0000 From: Allin Cottrell <cottrell@ricardo.ecn.wfu.edu> References: <35B768FE.ABF147B9@ricardo.ecn.wfu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 374266914 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Wake Forest University Mime-Version: 1.0 Newsgroups: news.software.nntp