summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel/recv-media.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index f5888f8d..f81d7c9e 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -1,12 +1,12 @@
1{ stdenv, coreutils, writeScriptBin }: 1{ stdenv, coreutils, writeScriptBin, util-linux }:
2 2
3writeScriptBin "recv-media" '' 3writeScriptBin "recv-media" ''
4 #!${stdenv.shell} 4 #!${stdenv.shell}
5 5
6 pid=$? 6 pid=$?
7 7
8 exec 1> >(${pkgs.util-linux}/bin/logger --id=$pid -t recv-media -p user.notice) 8 exec 1> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.notice)
9 exec 2> >(${pkgs.util-linux}/bin/logger --id=$pid -t recv-media -p user.error) 9 exec 2> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.error)
10 10
11 [[ -z "$1" || -z "$2" ]] && exit 2 11 [[ -z "$1" || -z "$2" ]] && exit 2
12 12