From 1ac0608fc53214897703e4a163186a4586c73bb6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 31 Aug 2021 19:26:37 +0200 Subject: cyberlocker-tools: pass fail --- krebs/5pkgs/simple/cyberlocker-tools/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs') diff --git a/krebs/5pkgs/simple/cyberlocker-tools/default.nix b/krebs/5pkgs/simple/cyberlocker-tools/default.nix index 80593bcae..d43be1d69 100644 --- a/krebs/5pkgs/simple/cyberlocker-tools/default.nix +++ b/krebs/5pkgs/simple/cyberlocker-tools/default.nix @@ -6,14 +6,14 @@ pkgs.symlinkJoin { set -efu path=''${1:-$(hostname)} - ${pkgs.curl}/bin/curl -Ss --data-binary @- "http://c.r/$path" + ${pkgs.curl}/bin/curl -fSs --data-binary @- "http://c.r/$path" echo "http://c.r/$path" '') (pkgs.writers.writeDashBin "cdel" '' set -efu path=$1 - ${pkgs.curl}/bin/curl -X DELETE "http://c.r/$path" + ${pkgs.curl}/bin/curl -f -X DELETE "http://c.r/$path" '') ]; } -- cgit v1.2.3