summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
'')
];
}