Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

look for /etc/vhs.yaml

  • Loading branch information...
commit d5d5fd5a3ff346b27e13ee0bec278d320def1aa8 1 parent 36791f2
Luke Closs lukec authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/VHS.pm
3  lib/VHS.pm
View
@@ -56,6 +56,9 @@ sub take_picture {
sub _build_config {
my $vhs_config_file = "$FindBin::Bin/../../.vhs.yaml";
+ unless (-e $vhs_config_file) {
+ $vhs_config_file = '/etc/vhs.yaml';
+ }
return LoadFile($vhs_config_file);
}
Please sign in to comment.
Something went wrong with that request. Please try again.