Permalink
Browse files

use the correct file

  • Loading branch information...
crucially committed Feb 2, 2012
1 parent c6f56da commit 9d29b45f2318078a835c27559e5c5526fdc613ea
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/fastly
View
@@ -559,7 +559,7 @@ sub upload {
my $name = shift || basename($file, ".vcl");
local($/);
- open(my $fh, "<$file") || die "No file '$file'";
+ open(my $fh, "<$name") || die "No file '$name'";
my $data = <$fh>;
close($fh);

0 comments on commit 9d29b45

Please sign in to comment.