#29 checkerror() writing where?

Suljettu
3 vuotta sitten avasi jcolomb · 2 kommenttia

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 kommentoitu 3 vuotta sitten
Omistaja

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 kommentoitu 3 vuotta sitten
Omistaja

sorry I misunderstood something apparently.

sorry I misunderstood something apparently.
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
2 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.