summaryrefslogtreecommitdiff
path: root/hel
diff options
context:
space:
mode:
Diffstat (limited to 'hel')
-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 f81d7c9e..07c96839 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -1,12 +1,12 @@
1{ stdenv, coreutils, writeScriptBin, util-linux }: 1{ stdenv, coreutils, writeScriptBin, eject }:
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> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.notice) 8 exec 1> >(${eject}/bin/logger --id=$pid -t recv-media -p user.notice)
9 exec 2> >(${util-linux}/bin/logger --id=$pid -t recv-media -p user.error) 9 exec 2> >(${eject}/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