From 4a18593c2fea48cfeddf3d1d422a3c5f926fc3f1 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Wed, 3 Jan 2018 03:33:06 +0000 Subject: [PATCH] etc/profile.d/nb.sh --- etc/profile.d/nb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index 4f310898..cf2db426 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -81,7 +81,7 @@ nb_php() { nb_api() { local uri="$1"; shift - curl -su "$NB_AUTH" "https://api.nbdom.net$uri" "$@" + curl --netrc-optional -su "$NB_AUTH" "https://api.nbdom.net$uri" "$@" } nb_api_post() { -- 2.47.3