Skip to content

Commit be9171c

Browse files
committed
tools/check_camera_support: Fix syntax.
1 parent 31ebb8d commit be9171c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/check_camera_support

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ else
341341
verbose_mode = true
342342
elsif arg == "--quiet"
343343
quiet_mode = true
344-
elsif samplesdir == nil && File.exists?(arg)
344+
elsif samplesdir == nil && File.exist?(arg)
345345
samplesdir = arg
346346
else
347347
$stderr.puts "Usage: check_camera_support [--verbose] [--matrix] <samples dir>"

0 commit comments

Comments
 (0)