From: Nicolas Boisselier Date: Wed, 14 Dec 2016 11:59:20 +0000 (+0100) Subject: encrypt X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=3e07ab0dc83c64e5a50980fc356ad96e7f1be2a3;p=nb.git encrypt --- diff --git a/bin/ovh-api b/bin/ovh-api index 67938d6c..fa630ff1 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -59,7 +59,7 @@ if (@ARGV and $ARGV[0] =~ /^(\w+):(\w+):(\w+)$/) { @KEY = split(':',$ENV{$NAME.'_KEY'}); } elsif (-e $config) { open(CONFIG,"$config") or die "$NAME: can't read $config"; - @KEY = split(":",chomp($_=join('',)) && $_); + @KEY = split(":",chomp($_=) && $_); close CONFIG; }