Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Gentoo Halt message
Date: Sat, 30 Jun 2007 08:56:42
Message-Id: 20070630094718.4d04df95@krikkit.digimed.co.uk
In Reply to: Re: [gentoo-user] Re: Gentoo Halt message by Stephan Wacker
1 Hello Stephan Wacker,
2
3 > while [ `find /var/spool/postfix/active -type f -mmin -1` ]
4
5 find returns success if it finds no files, so this will loop forever. Use [[ $(find blah | wc -l) -gt 0 ]]
6
7
8 --
9 Neil Bothwick
10
11 The world is a tragedy to those who feel, but a comedy to those who
12 think.(Horace Walpole)

Attachments

File name MIME type
signature.asc application/pgp-signature