summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/cyberlocker-tools
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-08-31 19:26:37 +0200
committerlassulus <lassulus@lassul.us>2021-08-31 19:26:37 +0200
commit1ac0608fc53214897703e4a163186a4586c73bb6 (patch)
treec8f700d6d05c33ee3b718da3591ce9910e0828d9 /krebs/5pkgs/simple/cyberlocker-tools
parent8104c7412081d8ae3e372cf160bf3c6109a6a4e7 (diff)
cyberlocker-tools: pass fail
Diffstat (limited to 'krebs/5pkgs/simple/cyberlocker-tools')
-rw-r--r--krebs/5pkgs/simple/cyberlocker-tools/default.nix4
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"
'')
];
}