summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-09-15 03:45:34 -0700
committerelijah <elijah@riseup.net>2015-09-15 03:45:34 -0700
commit0ace5c6dfaa5367cb5d6f67c04bc703ce8f1404d (patch)
tree8854087ebf090e00d6d9471c3a9c9b3d4cd50fbc /lib
parentce5baecd3e831a6ab2af33a15a99419fab39d04a (diff)
fix incorrect name for vagrant ssh public key file
Diffstat (limited to 'lib')
-rw-r--r--lib/leap_cli/commands/vagrant.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb
index 1561a658..9e81b2f8 100644
--- a/lib/leap_cli/commands/vagrant.rb
+++ b/lib/leap_cli/commands/vagrant.rb
@@ -79,7 +79,7 @@ module LeapCli; module Commands
# we need to make sure that it owned by us and not world readable.
#
def vagrant_ssh_key_file
- file_path = Path.vagrant_ssh_key_file
+ file_path = Path.vagrant_ssh_pub_key_file
Util.assert_files_exist! file_path
uid = File.new(file_path).stat.uid
if uid == 0 || uid == Process.euid