🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Allin Cottrell Thu, 23 Jul 1998 00:00
innwatch and bash-2
#29986
Author: Allin Cottrell
Date: Thu, 23 Jul 1998 00:00
13 lines
914 bytes
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.

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC

Re: innwatch and bash-2
#29977
Author: Allin Cottrell
Date: Thu, 23 Jul 1998 00:00
23 lines
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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads