fackup 0.0.1 → 0.0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fackup.rb +1 -1
- data/lib/fackup/cli.rb +1 -1
- metadata +2 -1
data/lib/fackup.rb
CHANGED
data/lib/fackup/cli.rb
CHANGED
@@ -68,7 +68,7 @@ module FackUp
|
|
68
68
|
|
69
69
|
desc 'list [IMAGE]', 'list backup files, if given, list file in image files'
|
70
70
|
def list (image=nil)
|
71
|
-
if image and File.
|
71
|
+
if image and File.exists?(image)
|
72
72
|
FackUp::Image.new(image, 'r', true) {|img|
|
73
73
|
img.each {|file|
|
74
74
|
puts file.name
|