#29 checkerror() writing where?

Stängd
öppnade 3 år sedan av jcolomb · 2 kommentarer

I think the checkerror() argument will not be able to write in the log: it comes before the pushd ${loc} > /dev/null command, and the .log folder may not exist.

I think the checkerror() argument will not be able to write in the log: it comes before the `pushd ${loc} > /dev/null` command, and the .log folder may not exist.
Achilleas Koutsou kommenterad 3 år sedan
Ägare

Does it?

The first call to checkerror is at L79 and pushd ${loc} and mkdir -p ./.log are at L69-L71.

Does it? The first call to `checkerror` is at [L79](https://gin.g-node.org/gin4RRI/gin-scripts/src/master/sync#L79) and `pushd ${loc}` and `mkdir -p ./.log` are at [L69-L71](https://gin.g-node.org/gin4RRI/gin-scripts/src/master/sync#L69-L71).
julien colomb kommenterad 3 år sedan
Ägare

sorry I misunderstood something apparently.

sorry I misunderstood something apparently.
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
2 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.