diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-06 17:53:03 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-04-06 17:53:03 +0200 |
commit | c95d03746fa632948ec9e2059fb082ef317ac4c8 (patch) | |
tree | 9037c92902e8a5b1b34383f18a24d50c7912b9d2 /hel/recv-media.nix | |
parent | 9ac06330a70d67f580b15557e9e4fa6a397a2252 (diff) | |
download | nixos-c95d03746fa632948ec9e2059fb082ef317ac4c8.tar nixos-c95d03746fa632948ec9e2059fb082ef317ac4c8.tar.gz nixos-c95d03746fa632948ec9e2059fb082ef317ac4c8.tar.bz2 nixos-c95d03746fa632948ec9e2059fb082ef317ac4c8.tar.xz nixos-c95d03746fa632948ec9e2059fb082ef317ac4c8.zip |
Indentation
Diffstat (limited to 'hel/recv-media.nix')
-rw-r--r-- | hel/recv-media.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hel/recv-media.nix b/hel/recv-media.nix index fd638ccc..4ef93dcd 100644 --- a/hel/recv-media.nix +++ b/hel/recv-media.nix | |||
@@ -30,11 +30,11 @@ writeScriptBin "recv-media" '' | |||
30 | target="''${dir}"/$(basename "$1") | 30 | target="''${dir}"/$(basename "$1") |
31 | 31 | ||
32 | logger --id=$pid -t recv-media -p user.debug <<EOF | 32 | logger --id=$pid -t recv-media -p user.debug <<EOF |
33 | $(id) | 33 | $(id) |
34 | $(stat ''${dir}) | 34 | $(stat ''${dir}) |
35 | $(stat ''${1}) | 35 | $(stat ''${1}) |
36 | $(print ''${2}) | 36 | $(print ''${2}) |
37 | EOF | 37 | EOF |
38 | 38 | ||
39 | ( | 39 | ( |
40 | if ! cp -lnv --preserve=all "$1" "''${target}"; then | 40 | if ! cp -lnv --preserve=all "$1" "''${target}"; then |