summaryrefslogtreecommitdiff
path: root/hel/recv-media.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-15 23:19:56 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-15 23:19:56 +0200
commite27a28dd6b899629d11c44baff72f19340ef0cf1 (patch)
treed61af4e8629a0a09113f98202e1021dcf40a7a0d /hel/recv-media.nix
parent81a4f8b5192c89682367723bbb0777c29654422f (diff)
downloadnixos-e27a28dd6b899629d11c44baff72f19340ef0cf1.tar
nixos-e27a28dd6b899629d11c44baff72f19340ef0cf1.tar.gz
nixos-e27a28dd6b899629d11c44baff72f19340ef0cf1.tar.bz2
nixos-e27a28dd6b899629d11c44baff72f19340ef0cf1.tar.xz
nixos-e27a28dd6b899629d11c44baff72f19340ef0cf1.zip
abort on lacking arguments
Diffstat (limited to 'hel/recv-media.nix')
-rw-r--r--hel/recv-media.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix
index 24c7a15c..d8192e0f 100644
--- a/hel/recv-media.nix
+++ b/hel/recv-media.nix
@@ -3,6 +3,8 @@
3writeScriptBin "recv-media" '' 3writeScriptBin "recv-media" ''
4 #!${stdenv.shell} 4 #!${stdenv.shell}
5 5
6 [[ -z "$1" ]] && exit 2
7
6 PATH=${ffmpeg-full}/bin:${coreutils}/bin 8 PATH=${ffmpeg-full}/bin:${coreutils}/bin
7 9
8 dir=/var/media 10 dir=/var/media