scripts/Bootstrap/Pmodules/libpmodules.bash:

- in function log(): redirect output to '1>&$fd' not '/dev/fd/$fd',
  writing to '/dev/fd/X' might run into permission problems
This commit is contained in:
2015-05-21 15:02:49 +02:00
parent 0a2ee2e1ba
commit 8665107992

View File

@@ -9,7 +9,7 @@ log() {
local -ri fd=$1
local -r fmt="$2\n"
shift 2
printf -- "$fmt" "$@" >> /dev/fd/$fd
printf -- "$fmt" "$@" 1>&$fd
}
info() {