bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to let find return non-zero when nothing is found?


From: Stephane Chazelas
Subject: Re: Is there a way to let find return non-zero when nothing is found?
Date: Thu, 14 Nov 2019 16:41:07 +0000
User-agent: NeoMutt/20171215

2019-11-14 08:19:19 +0000, Stephane Chazelas:
[...]
> if [ "$(kill -l "$?")" -eq PIPE ]; then...
[...]

Sorry, should have been:

 if [ "$(kill -l "$?")" = PIPE ]; then...

-- 
Stephane




reply via email to

[Prev in Thread] Current Thread [Next in Thread]