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

Re: [Cluster-devel] [PATCH] dlm_tool: Fix silly error:



David Teigland wrote:
> On Thu, May 07, 2009 at 03:29:03PM +0100, Chrissie Caulfield wrote:
>> If you do
>>
>>    # dlm_tool lockdump default
>>
>> on a lockspace with no locks in it, you get the error message:
>>
>>    can't read /sys/kernel/debug/dlm/default_locks: Success
>>
>> This patch puts a slightly more sensible error message in place.
> 
> Ack, thanks, could you also do the same for "lockdebug"?


Or perhaps it would make more sense to simply print noting at all in
that case. That would be consistent with all the other parts of dlm_tool
as well as the "no news is good news" philosophy of Unix tools in general.

-- 

Chrissie


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