From c083d168db93f74b12a8a1e4c26a3c37fe830cee Mon Sep 17 00:00:00 2001 From: Q Date: Sun, 20 Aug 2023 11:56:49 +0300 Subject: [PATCH] and silence --- code/templates/mfl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/templates/mfl b/code/templates/mfl index 4a64aab..b9e28de 100755 --- a/code/templates/mfl +++ b/code/templates/mfl @@ -50,7 +50,7 @@ _update_client() { } _list() { - curl -fL -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls + curl -fL -s -w "\n" -s -H "Secret: $MFL_TOKEN" "$MFL_ROOTURL"/ls } _write() { @@ -127,25 +127,25 @@ _write_stdin() { # name _delete() { # name read -p "Sure to delete: $1 ? Break to exit " foo - curl -fL -w "\n" \ + curl -fL -s -w "\n" \ -H "Secret: $MFL_TOKEN" \ "$MFL_ROOTURL"/delete/"$1" } _details() { # name - curl -fL -w "\n" \ + curl -fL -s -w "\n" \ -H "Secret: $MFL_TOKEN" \ "$MFL_ROOTURL"/details/"$1" } _simple_list() { - curl -fL -w "\n" \ + curl -fL -s -w "\n" \ -H "Secret: $MFL_TOKEN" \ "$MFL_ROOTURL"/ls-simple } _maintain() { - curl -fL -w "\n" \ + curl -fL -s -w "\n" \ -H "Secret: $MFL_TOKEN" \ "$MFL_ROOTURL"/maintenance }