Amanda-Users

Re: Another oddity from Gene

2009-10-19 12:11:10
Subject: Re: Another oddity from Gene
From: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
To: Gene Heskett <gene.heskett AT verizon DOT net>
Date: Mon, 19 Oct 2009 10:08:23 -0400
On Mon, Oct 19, 2009 at 8:05 AM, Gene Heskett <gene.heskett AT verizon DOT net> 
wrote:
>        if [`/bin/ls /dumps`]; then   <<<<<----line 173

This can be a bit tricky in portable shell, but maybe this is closer
to what you want:

if [ `/bin/ls /dumps` != '' ]

Dustin

-- 
Open Source Storage Engineer
http://www.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>