From a705dc9bb2820c86c444bffbf15bce29ba020c84 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 2 Oct 2016 23:35:28 +0200 Subject: completely overwrite PATH --- hel/recv-media.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hel') diff --git a/hel/recv-media.nix b/hel/recv-media.nix index bde3e2e8..a22b4d41 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix @@ -15,7 +15,7 @@ writeScriptBin "recv-media" '' pid=$? - export PATH=/var/setuid-wrappers/:${eject}/bin:${coreutils}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}$PATH + PATH=${eject}/bin:${coreutils}/bin:${if showTitle then ''${ffmpeg}/bin:${gnused}/bin:'' else ""}/var/setuid-wrappers exec 1> >(logger --id=$pid -t recv-media -p user.notice) exec 2> >(logger --id=$pid -t recv-media -p user.error) -- cgit v1.2.3