summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel/recv-media.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index 23c2c89e..582a1ee3 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -30,6 +30,10 @@ writeScriptBin "recv-media" ''
30 tmpFile="''${dir}"/.tmp/$(basename "$1") 30 tmpFile="''${dir}"/.tmp/$(basename "$1")
31 target="''${dir}"/$(basename "$1") 31 target="''${dir}"/$(basename "$1")
32 32
33 if [[ -n "''${3}" ]]; then
34 target="''${dir}"/$(echo ''${3} | base64 -d)
35 fi
36
33 logger --id=$pid -t recv-media -p user.debug <<EOF 37 logger --id=$pid -t recv-media -p user.debug <<EOF
34 $(id) 38 $(id)
35 $(stat ''${dir}) 39 $(stat ''${dir})