diff options
Diffstat (limited to 'lib/sisu/0.52/hub.rb')
-rw-r--r-- | lib/sisu/0.52/hub.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/0.52/hub.rb b/lib/sisu/0.52/hub.rb index 939b70a5..1f2df5f6 100644 --- a/lib/sisu/0.52/hub.rb +++ b/lib/sisu/0.52/hub.rb @@ -540,7 +540,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ if @opt.fns =~/\._sst$/ and @opt.cmd !~/[S_M]/ # rework necessry, revist, the _ flag is a hack, to keep ._sst files @msg,@msgs='temporary file removed',nil @tell.call.warn unless @opt.cmd =~/V/ - File.unlink(@opt.fns) if File.exists?(@opt.fns) #CONSIDER + File.unlink(@opt.fns) if File.exist?(@opt.fns) #CONSIDER end else #Operations.new(fns,'html').not_found end |