diff options
author | lassulus <lassulus@lassul.us> | 2021-08-31 19:26:37 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-08-31 19:26:37 +0200 |
commit | 1ac0608fc53214897703e4a163186a4586c73bb6 (patch) | |
tree | c8f700d6d05c33ee3b718da3591ce9910e0828d9 | |
parent | 8104c7412081d8ae3e372cf160bf3c6109a6a4e7 (diff) |
cyberlocker-tools: pass fail
-rw-r--r-- | krebs/5pkgs/simple/cyberlocker-tools/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
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" '') ]; } |