summaryrefslogtreecommitdiff
path: root/custom/recv-media.sh
diff options
context:
space:
mode:
Diffstat (limited to 'custom/recv-media.sh')
-rw-r--r--custom/recv-media.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/custom/recv-media.sh b/custom/recv-media.sh
index f99aaaf0..d9ed888d 100644
--- a/custom/recv-media.sh
+++ b/custom/recv-media.sh
@@ -16,12 +16,12 @@ if [[ -n "${3}" ]]; then
16 target="${dir}"/$(@coreutils@/bin/base64 -d <<<${3}) 16 target="${dir}"/$(@coreutils@/bin/base64 -d <<<${3})
17fi 17fi
18 18
19@utillinux@/bin/logger --id=$pid -t recv-media -p user.debug <<EOF 19# @utillinux@/bin/logger --id=$pid -t recv-media -p user.debug <<EOF
20$(id) 20# $(id)
21$(stat ${dir}) 21# $(stat ${dir})
22$(stat ${1}) 22# $(stat ${1})
23$(echo ${2}) 23# $(echo ${2})
24EOF 24# EOF
25 25
26if [[ $(id -Gn) != *"$group"* ]]; then 26if [[ $(id -Gn) != *"$group"* ]]; then
27 printf "Groups are ‘%s’. Trying to switch primary group to ‘%s’..." $(id -Gn) $group 27 printf "Groups are ‘%s’. Trying to switch primary group to ‘%s’..." $(id -Gn) $group