summaryrefslogtreecommitdiff
path: root/lib/leap_cli/util.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/util.rb')
-rw-r--r--lib/leap_cli/util.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb
index 53bad35..fdbdc8a 100644
--- a/lib/leap_cli/util.rb
+++ b/lib/leap_cli/util.rb
@@ -127,7 +127,7 @@ module LeapCli
def read_file!(filepath)
filepath = Path.named_path(filepath)
if !File.exists?(filepath)
- bail!("File '%s' does not exist." % exc.file_path)
+ bail!("File '%s' does not exist." % filepath)
else
File.read(filepath)
end