#29 checkerror() writing where?

Fermé
Créé il y a 3 ans par jcolomb · 2 commentaires

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 a commenté il y a 3 ans
Propriétaire

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 a commenté il y a 3 ans
Propriétaire

sorry I misunderstood something apparently.

sorry I misunderstood something apparently.
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
2 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.