summaryrefslogtreecommitdiff
path: root/hel/recv-media.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hel/recv-media.nix')
-rw-r--r--hel/recv-media.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index 75aa7950..4ce05d44 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -13,7 +13,7 @@ writeScriptBin "recv-media" ''
13 #file2="''${dir}/.copy.$(basename "$1")" 13 #file2="''${dir}/.copy.$(basename "$1")"
14 nFile="''${dir}/$(basename "$1")" 14 nFile="''${dir}/$(basename "$1")"
15 #cat > "''${file}" 15 #cat > "''${file}"
16 if ffmpeg -v warning -i "''$0" -c copy "''${file}" 2>&1 </dev/null; then 16 if ffmpeg -v warning -i "''$1" -c copy "''${file}" 2>&1 </dev/null; then
17 mv "''${file}" "''${nFile}" 17 mv "''${file}" "''${nFile}"
18 else 18 else
19 echo "Download of ''${file} failed" 19 echo "Download of ''${file} failed"