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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user