From 7f4568d3ba5a2b2d12fda53c3a439e40df089750 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 28 Jun 2016 17:23:57 +0200 Subject: noclobber in recv-media --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hel/recv-media.nix b/hel/recv-media.nix index b61840ec..eeccdfb1 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -9,5 +9,5 @@ writeScriptBin "recv-media" '' dir=/var/media - cp -l "$1" "''${dir}/$(basename "$1")" + cp -ln "$1" "''${dir}/$(basename "$1")" '' -- cgit v1.2.3