From e3da2766bd220e85d6850ff6a0d1c692dba9c0d0 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 18 Jul 2009 21:30:11 +0200 Subject: show 'lost+found' folder if &show_hidden is on --- code/directory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/directory.rb b/code/directory.rb index 191d3b93..65c4047c 100644 --- a/code/directory.rb +++ b/code/directory.rb @@ -28,7 +28,7 @@ class Directory log @path files = Dir.new(@path).to_a rescue [] if Option.show_hidden - files -= ['.', '..', 'lost+found'] + files -= ['.', '..'] else files.reject!{|x| x[0] == ?. or x == 'lost+found'} end -- cgit 1.4.1-2-gfad0