From 6cb1f4c2515e83cd615f2f0a0c61a1eb47392dd8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 16 May 2016 16:43:18 +0200 Subject: cp instead of mv --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hel/recv-media.nix') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index e0dc261f..b61840ec 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -9,5 +9,5 @@ writeScriptBin "recv-media" '' dir=/var/media - mv "$1" "''${dir}/$(basename "$1")" + cp -l "$1" "''${dir}/$(basename "$1")" '' -- cgit v1.2.3