]> git.nbdom.net Git - nb.git/commitdiff
bin/ovh-api
authorroot <sys@15gifts.com>
Wed, 2 Aug 2017 11:34:28 +0000 (12:34 +0100)
committerroot <sys@15gifts.com>
Wed, 2 Aug 2017 11:34:28 +0000 (12:34 +0100)
bin/ovh-api

index f5c313cf58888ffaa5c49d4193ed134879fbb36d..cb16c842c0a8aa1efde6c928f31ac163a25687e2 100755 (executable)
@@ -56,7 +56,7 @@ open STDOUT,'| (which jq > /dev/null && jq . || cat)' if $Opt{jq};
 my $Api = OvhApi->new(type => OvhApi::OVH_API_EU, applicationKey => $KEY[0], applicationSecret => $KEY[1], consumerKey => $KEY[2]);
 
 if ($Opt{'show-hostname'}) {
-  print hostname();
+  print hostname()."\n";
   exit;
 }