Closed kichetof closed 5 years ago
Hi guys,
Unable to run after update (docker on Synology). At every launch, permissions are set to 1000 without considering env vars UID/GID.
Operator -n return : True if the length of string is nonzero. https://github.com/PlusMinus0/headless-jd2-docker/blob/e4cf08ec3c67333bf704683be44e13e4711bc200/common/entrypoint.sh#L4 https://github.com/PlusMinus0/headless-jd2-docker/blob/e4cf08ec3c67333bf704683be44e13e4711bc200/common/entrypoint.sh#L5
-n
True if the length of string is nonzero.
In my case, replace -n .. by ! -n .. works fine. I'm not 100% sure with this workaround, that's why I don't wrote a PR.
-n ..
! -n ..
Thanks for your great container!! Cheers
You are right. I used -z instead but that should fix it, added a test to confirm. Will merge as soon as travis is done.
-z
Hi guys,
Unable to run after update (docker on Synology). At every launch, permissions are set to 1000 without considering env vars UID/GID.
Operator
-n
return :True if the length of string is nonzero.
https://github.com/PlusMinus0/headless-jd2-docker/blob/e4cf08ec3c67333bf704683be44e13e4711bc200/common/entrypoint.sh#L4 https://github.com/PlusMinus0/headless-jd2-docker/blob/e4cf08ec3c67333bf704683be44e13e4711bc200/common/entrypoint.sh#L5In my case, replace
-n ..
by! -n ..
works fine. I'm not 100% sure with this workaround, that's why I don't wrote a PR.Thanks for your great container!! Cheers