diff options
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/util.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb index 6529d38..53bad35 100644 --- a/lib/leap_cli/util.rb +++ b/lib/leap_cli/util.rb @@ -188,7 +188,7 @@ module LeapCli filepath = Path.named_path(filepath) output = `md5sum '#{filepath}'`.strip if $?.to_i == 0 - return output.split(" ").first == MD5.md5(contents).to_s + return output.split(" ").first == Digest::MD5.hexdigest(contents).to_s else return false end |